GitLab’s AI offers fresh ways to detect code flaws

Developers at Gitlab have unveiled new tools to improve the quality of code. Among these tools are artificial intelligence-enabled functions that enable users to identify mistakes and receive recommendations for correction more easily.

A survey conducted by Gitlab found that 62% of developers check their code using artificial intelligence, and 65% plan to master II tools within the next three years. In response, Gitlab has added artificial intelligence to its service, with a range of tools now available.

For example, an enhanced work function enables improved scanning of licenses and compatible search. The system can now identify up to 500 different types of licenses, compared to just 20 previously. This function allows developers to quickly and easily determine whether they are able to use another developer’s code in their own project, helping to prevent litigation.

The code can also be checked for secrets and personal access to APIs and services. Gitlab’s research shows that problems with accidentally publishing secrets in public repositories often lead to application hacking. Additionally, automatic compliance with security policies allows administrators to configure rules that developers must follow. This prevents changes to projects being made without proper checks.

Finally, Gitlab has announced the addition of the Suggested Reviewers function, which uses artificial intelligence to identify potential vulnerabilities in code and offer ways to address them. The code will not be shared with third parties or used to teach models. This function complements the Code Suggests function, which was announced last month and enables developers to receive recommendations as they write code.

The new tools offered by Gitlab demonstrate the importance of artificial intelligence in facilitating code quality and security. With more developers adopting II tools, a shift towards greater reliance on artificial intelligence can be expected in the years to come.

/Reports, release notes, official announcements.