You can use your OpenAI or Azure OpenAI account to assist you in generating recommended fixes for static analysis violations. See Generating a Suggested Fix for more information. You must configure dotTEST to be able to use your OpenAI or Azure OpenAI account in the Parasoft Preferences. See Configuring OpenAI Settings for details.

The dotTEST-OpenAI integration uses the OpenAI REST API over HTTPS/TLS. For the AI-generated static analysis fixes, it sends: the source code of the entire method, part of the method, or the single line related to the static analysis violation, along with documentation regarding the static analysis rule that was violated.  The diagram below illustrates what and how dotTEST communicates with OpenAI.

  • No labels