Improvement the coverage rate for api snippet