-
公开(公告)号:US11023210B2
公开(公告)日:2021-06-01
申请号:US16358743
申请日:2019-03-20
Applicant: International Business Machines Corporation
Inventor: Yu Li , Zi Lin Zhang , Yingyi Wang , Miao Guo , Yi Bin Wang , Yao Xing Li
Abstract: In an approach to generating program analysis rules, one or more computer processors identify one or more unassociated code standard documents. The one or more computer processors feed the one or more unassociated code standard documents into a cognitive model, wherein the cognitive model utilizes one or more historical code standard documents based on the unassociated code standard documents and associated program analysis rules based on the unassociated code standard documents, wherein the historical code standard documents are natural language documents and the program analysis rules are programmatic. The one or more computer processors generate, based on one or more calculations by the cognitive model, one or more program analysis rules. The one or more computer processors correct one or more programmatic errors or one or more stylistic errors based on the generated one or more program analysis rules.