I tried lizard (https://github.com/terryyin/lizard). It works better than oclint (at least with the packages I tested)