US 11,842,175 B2
Dynamic recommendations for resolving static code issues
Prabal Mahanta, Bangalore (IN); and Vipul Khullar, New Delhi (IN)
Assigned to SAP SE, Walldorf (DE)
Filed by SAP SE, Walldorf (DE)
Filed on Jul. 19, 2021, as Appl. No. 17/379,225.
Prior Publication US 2023/0016697 A1, Jan. 19, 2023
Int. Cl. G06F 8/41 (2018.01); G06F 8/73 (2018.01); G06F 8/75 (2018.01)
CPC G06F 8/42 (2013.01) [G06F 8/433 (2013.01); G06F 8/437 (2013.01); G06F 8/73 (2013.01); G06F 8/75 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A system comprising:
a memory storing processor-executable steps; and
a processor to execute the processor-executable steps to cause the system to:
receive a code fragment exhibiting a static code issue;
determine, via a trained exemption neural network, whether the received code fragment is exempt or not exempt from resolution, wherein an exempt code fragment includes a static code issue that does not need to be resolved;
in a case it is determined the code fragment is not exempt from resolution, input the code fragment to a trained classification neural network;
determine, via the trained classification network, whether the static code issue exhibited by the code fragment is a syntactical static code issue or a non-syntactical static code issue;
in a case the static code issue exhibited by the code fragment is a syntactical static code issue, input the code fragment to a first trained network to generate a first resolution of the syntactical static code issue; and
in a case the static code issue exhibited by the code fragment is a non-syntactical static code issue, input the code fragment to a second trained network to generate a second resolution of the non-syntactical static code issue.