Fix code analysis and add missing part on CI