Our group member Luka TODUA presented ” Cppcheck Defects Detection Automation for the Athena Full Scan” at ASCIG Session in S&C Week with the presentation. He described all the steps they went through to develop the automated process of CppCheck Defect Detection Automation, which includes :
- Cloning/Pulling Athena repository
- Scanning Athena repository with Cppcheck. Generating Defects list in XML format
- Finding new Defects. Comparison of past week Defects list and current Defects list
- Searching Authors, their Emails and MR date for each Defect with Git command
- Finding Defect Authors username in Cern phonebook for Jira Tickets with Ldapsearch command
- Creating Jira Tickets and assigning to Defect Authors automatically
- Generating Statistical data such as Overall Defects, Fixed Defects, Overall Fixed Defects in XML format
- Converting XML files to HTML tables
- Uploading HTML tables to Cppcheck Web-page
Luka also described every script files they created to run automation and gave detail description of each of them. He also showed attendees results of automation generated and put into tables on the webpage linked above. He also described briefly about future plans.
Luka got lots of good feedbacks about his work for automating the whole complexed process.