Remove unused functions and files by lcov