[bangwu] add code coverage function