I am assuming that you are looking more for code coverage rather than code quality. For code quality pega has lot of built in dashboard and utilities. We might have to analyze how to make it work in a CI pipeline setup.
But in one of our previous projects we used Jacoco for code coverage. Not sure if it helps.