cnpm / cnpmjs.org
Files Coverage
common/cache.js 66.67%
common/logger.js 69.70%
common/mail.js 44.83%
common/markdown.js 100.00%
common/nfs.js 100.00%
common/sequelize.js 63.16%
common/urllib.js 75.68%
config/index.js 75.51%
controllers/registry/package/deprecate.js 100.00%
controllers/registry/package/dist_tag.js 100.00%
controllers/registry/package/download.js 76.92%
controllers/registry/package/download_total.js 100.00%
controllers/registry/package/list.js 84.89%
controllers/registry/package/list_all.js 100.00%
controllers/registry/package/list_by_user.js 100.00%
controllers/registry/package/list_dependents.js 100.00%
controllers/registry/package/list_shorts.js 94.44%
controllers/registry/package/list_since.js 100.00%
controllers/registry/package/list_versions.js 100.00%
controllers/registry/package/remove.js 100.00%
controllers/registry/package/remove_version.js 97.22%
controllers/registry/package/save.js 98.58%
controllers/registry/package/show.js 84.00%
controllers/registry/package/tag.js 100.00%
controllers/registry/package/update.js 94.12%
controllers/registry/token/create.js 100.00%
controllers/registry/token/del.js 100.00%
controllers/registry/token/list.js 100.00%
controllers/registry/user/add.js 100.00%
controllers/registry/user/common.js 100.00%
controllers/registry/user/ping.js 100.00%
controllers/registry/user/show.js 100.00%
controllers/registry/user/update.js 96.97%
controllers/registry/user/whoami.js 100.00%
controllers/registry/user_package.js 100.00%
controllers/sync.js 88.89%
controllers/sync_module_worker.js 79.56%
controllers/total.js 80.56%
controllers/utils.js 76.74%
controllers/web/badge.js 100.00%
controllers/web/package/list_privates.js 100.00%
controllers/web/package/search.js 91.30%
controllers/web/package/search_range.js 100.00%
controllers/web/package/show.js 78.63%
controllers/web/show_sync.js 60.00%
controllers/web/user/show.js 100.00%
lib/common.js 88.73%
middleware/auth.js 96.08%
middleware/block.js 100.00%
middleware/editable.js 100.00%
middleware/exists_package.js 100.00%
middleware/limit.js 85.71%
middleware/login.js 94.74%
middleware/opensearch.js 100.00%
middleware/proxy_to_npm.js 100.00%
middleware/publishable.js 89.58%
middleware/registry_not_found.js 88.89%
middleware/static.js 100.00%
middleware/sync_by_install.js 88.24%
middleware/unpublishable.js 100.00%
middleware/web_not_found.js 85.71%
models/_module_maintainer_class_methods.js 100.00%
models/download_total.js 100.00%
models/index.js 86.21%
models/module.js 100.00%
models/module_abbreviated.js 100.00%
models/module_deps.js 100.00%
models/module_keyword.js 100.00%
models/module_log.js 100.00%
models/module_maintainer.js 100.00%
models/module_star.js 100.00%
models/module_unpublished.js 92.86%
models/npm_module_maintainer.js 100.00%
models/package_readme.js 100.00%
models/tag.js 100.00%
models/token.js 95.83%
models/total.js 16.67%
models/user.js 91.67%
models/utils.js 100.00%
routes/registry.js 100.00%
routes/web.js 100.00%
servers/registry.js 96.30%
servers/web.js 87.18%
services/common.js 100.00%
services/default_user_service.js 94.00%
services/download_total.js 87.72%
services/hook.js 100.00%
services/module_log.js 90.48%
services/npm.js 66.10%
services/package.js 96.75%
services/token.js 93.18%
services/total.js 94.74%
services/user.js 88.89%
sync/status.js 87.80%
sync/sync_all.js 85.37%
sync/sync_exist.js 90.57%
sync/sync_popular.js 100.00%
Project Totals (97 files) 87.70%
Loading