首页>
外国专利>
SOURCE CODE EVALUATION DEVICE, SOURCE CODE EVALUATION METHOD AND SOURCE CODE EVALUATION PROGRAM
SOURCE CODE EVALUATION DEVICE, SOURCE CODE EVALUATION METHOD AND SOURCE CODE EVALUATION PROGRAM
展开▼
机译:源代码评估设备,源代码评估方法和源代码评估程序
展开▼
页面导航
摘要
著录项
相似文献
摘要
To provide a source code evaluation device capable of automatically estimating a location where a source is likely to contain a bug.SOLUTION: In the source code evaluation device 10, a difference detection unit 11 detects a description to be a difference in source code before and after the source code is changed, and determines whether the difference is originated from a correction of a bug. A lexical-vector generating unit 12 divides the description to be a difference into lexical tokens and generates a vector in which numerical values defined according to a type of each lexical token are arranged in order of individual lexical tokens in the description to be a difference. A learning unit 13 learns a relationship between the vector and a result of determination by the difference detection unit. A window setting unit 14 sets a window containing a predetermined number of lexical tokens for a source code to be evaluated for presence/absence of a bug. An evaluation target analysis unit 15 generates a vector for each lexical token contained in the window. Based on the generated vector and a result of the learning, a recognition unit 16 evaluates a likelihood of a bug being contained in a description within the window.SELECTED DRAWING: Figure 2
展开▼