Posts

Showing posts from February, 2020

Check Code Quality of Your Custom Component Using SonarQube

Image
Introduction Use of custom component is very common while working with Oracle Digital Assistant (ODA). Whenever you want to make a call to any back-end service or implement complex logic, which otherwise would require multiple dialog flow states, you would be using custom component. A custom component is build using Node.js. While building a custom component, developers often tend to overlook  checking the code quality. While there are various tools available in the market to check the code quality, this article will describe how you can use SonarQube to check code quality of your custom component. Setup Download and install SonarQube ( https://www.sonarqube.org/downloads/ ) on your machine. This will downlaod a .zip file on your machine. Once downloaded, extract it at a favorable location on your machine. Navigate to "bin" folder, which in my case is C:\sonarqube-8.1.0.31237\bin, and then navigate to the folder specifying your Operating System. Refer to below Fig