摘要 |
PROBLEM TO BE SOLVED: To provide a technique which reduces the load on a software developer by accurately giving priorities to results of static analysis of a source code and presenting them.SOLUTION: A static analysis device includes: a static analysis unit 11 which generates warning information including warning position information and warning identification information, as static analysis results of a source code; a similar part extraction unit 12 which extracts similar parts similar to each other in the source code and generates, for each similar part, similar part information including similarity identification information and range information; an information combination unit 13 which collates the warning information and the similar part information with each other to generate combinational warning information in which similarity identification information of similar parts including warning positions indicated by respective pieces of the warning information is added to the pieces of warning information; and a priority determination unit 14 which determines, for each of pieces of combined warning information, a priority by using priority determination criteria based on the warning identification information and the similarity identification information. |