[cocos2d] add static analysis tests