As is common for many Moodle plugins, the code is on github (https://github.com/moodleou/moodle-report_customsql) and pull requests are welcome.
If, before you start writing code, you want to discuss the general approach to take, then a good way is to open an issue on github.