How to check code quality in service now ?

String
Kilo Sage

Hi Team ,

We are using couple of integration and written BR ,Script include ,UI polices  ,UI actions .

Now we are trying to check the code quality before hand over to testing team .So please suggest any tools or plugin to check the code quality /Performances .

 

Please guide me to achieve the quality code 

1 ACCEPTED SOLUTION

Rahul Kumar17
Tera Guru

Hi,

 

There are a number of tools and plugins available that can help you check the code quality and performance of your ServiceNow code. Here are some suggestions:

  1. ServiceNow ATF (Automated Test Framework) - ATF can be used to create automated tests that validate the functionality and performance of your ServiceNow applications.

  2. ServiceNow Code Analyzer - This tool is a built-in feature of ServiceNow that analyzes your code for best practices, performance, and security issues. It provides a report with suggestions for improving your code.

  3. ESLint - This is a popular open-source linting utility that can help you identify and fix errors and stylistic issues in your JavaScript code. You can configure ESLint to work with ServiceNow's APIs and syntax.

  4. SonarQube - This is an open-source code quality tool that can analyze code written in various programming languages, including JavaScript. You can configure SonarQube to work with ServiceNow's APIs and syntax.

  5. JMeter - This is an open-source performance testing tool that can be used to test the performance of your ServiceNow applications. It can simulate high user loads and measure response times and throughput.

  6. ServiceNow Performance Analytics - This built-in feature of ServiceNow can be used to monitor the performance of your applications in real-time. It provides dashboards and reports that show key performance metrics and trends.

These tools can help you identify issues in your ServiceNow code before handing it over to the testing team, allowing you to fix any issues early on in the development process.

 
 
Thanks,
Rahul Kumar
If my response helped please mark it correct and close the thread.

Thanks,
Rahul Kumar

View solution in original post

7 REPLIES 7

Honestly, Users should have to mark if an answer has been Chat-GPT created.

Rahul Kumar17
Tera Guru

Hi @String 

 

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread.

Thanks,
Rahul Kumar

 

If my response helped please mark it correct and close the thread.

Thanks,
Rahul Kumar

Ken K1
Giga Guru

I agree.  "Code Analyzer" is NOT a product on the platform and this should be removed.  This post shows up as the primary result on a google search when looking at this topic.  Pieces of this answer are clearly hallucinations from an AI search that someone posted.