SYMBOL INDEX (173 symbols across 50 files) FILE: cmd/consume.js function onMessage (line 26) | function onMessage(msg, npmNano, npmsNano, esClient) { function onFailedAnalysis (line 68) | function onFailedAnalysis(name, err, npmsNano, esClient) { FILE: cmd/observe.js function onPackage (line 23) | function onPackage(name, priority, queue) { FILE: cmd/scoring.js function waitRemaining (line 22) | function waitRemaining(delay, esClient) { function cycle (line 46) | function cycle(delay, npmsNano, esClient) { FILE: cmd/tasks/clean-extraneous.js function fetchNpmPackages (line 15) | function fetchNpmPackages(npmNano) { function fetchNpmsPackages (line 33) | function fetchNpmsPackages(npmsNano) { function fetchNpmsObservedPackages (line 53) | function fetchNpmsObservedPackages(npmsNano) { function cleanExtraneousNpmsPackages (line 76) | function cleanExtraneousNpmsPackages(npmPackages, npmsPackages, npmsNano... function cleanExtraneousNpmsObservedPackages (line 122) | function cleanExtraneousNpmsObservedPackages(npmPackages, npmsObservedPa... FILE: cmd/tasks/enqueue-missing.js function fetchNpmPackages (line 16) | function fetchNpmPackages(npmNano) { function fetchNpmsPackages (line 34) | function fetchNpmsPackages(npmsNano) { function enqueueMissingPackages (line 51) | function enqueueMissingPackages(npmPackages, npmsPackages, queue, dryRun) { FILE: cmd/tasks/enqueue-outdated.js function fetchNpmPackages (line 15) | function fetchNpmPackages(npmNano) { function fetchNpmsPackages (line 32) | function fetchNpmsPackages(npmsNano) { function enqueueOutdated (line 52) | function enqueueOutdated(npmPackages, npmsPackages, queue, dryRun) { FILE: cmd/tasks/enqueue-view.js function fetchView (line 17) | function fetchView(view, npmNano) { function enqueueViewPackages (line 38) | function enqueueViewPackages(packages, queue, dryRun) { FILE: cmd/tasks/migrate.js function extractScope (line 10) | function extractScope(name) { FILE: cmd/util/bootstrap.js function bootstrap (line 22) | function bootstrap(deps, options) { function bootstrapCouchdb (line 58) | function bootstrapCouchdb(config, options) { function bootstrapElasticsearch (line 87) | function bootstrapElasticsearch(config, options) { function bootstrapQueue (line 115) | function bootstrapQueue(config, options) { FILE: cmd/util/stats/process.js function statProcess (line 11) | function statProcess() { FILE: cmd/util/stats/progress.js function statProgress (line 15) | function statProgress(npmNano, npmsNano) { FILE: cmd/util/stats/queue.js function statQueue (line 12) | function statQueue(queue) { FILE: cmd/util/stats/tokens.js function statTokens (line 15) | function statTokens(tokens, group) { FILE: lib/analyze/collect/github.js function extractCommits (line 26) | function extractCommits(commitActivity) { function githubRequest (line 47) | function githubRequest(resource, options) { function fetchIssuesStats (line 123) | function fetchIssuesStats(repository, options) { function github (line 170) | function github(packageJson, downloaded, options) { FILE: lib/analyze/collect/index.js function checkRepositoryOwnership (line 24) | function checkRepositoryOwnership(data, packageJson, downloaded, npmNano) { function empty (line 65) | function empty(name) { function collect (line 82) | function collect(data, packageJson, downloaded, npmNano, options) { FILE: lib/analyze/collect/metadata.js function extractReleases (line 26) | function extractReleases(data) { function normalizeLicense (line 48) | function normalizeLicense(name, license) { function extractLicense (line 87) | function extractLicense(packageJson) { function extractLinks (line 118) | function extractLinks(packageJson) { function extractAuthor (line 176) | function extractAuthor(packageJson, maintainers) { function extractPublisher (line 200) | function extractPublisher(packageJson, maintainers) { function extractScope (line 223) | function extractScope(packageJson) { function extractMaintainers (line 242) | function extractMaintainers(data, packageJson) { function empty (line 266) | function empty(name) { function metadata (line 284) | function metadata(data, packageJson) { FILE: lib/analyze/collect/npm.js function fetchDownloads (line 21) | function fetchDownloads(name) { function extractStarsCount (line 99) | function extractStarsCount(data) { function npm (line 114) | function npm(data, packageJson) { FILE: lib/analyze/collect/source.js function inspectFiles (line 33) | function inspectFiles(data, downloaded) { function getReadmeBadges (line 72) | function getReadmeBadges(data, downloaded) { function getRepoLinters (line 93) | function getRepoLinters(downloaded) { function fetchCodeCoverage (line 120) | function fetchCodeCoverage(packageJson, badges) { function checkVulnerabilities (line 154) | function checkVulnerabilities(packageJson) { function checkOutdatedDeps (line 202) | function checkOutdatedDeps(name, dir, options) { function source (line 261) | function source(data, packageJson, downloaded, options) { FILE: lib/analyze/collect/util/fileContents.js function fileContents (line 14) | function fileContents(path) { FILE: lib/analyze/collect/util/fileSize.js function fileSize (line 15) | function fileSize(path) { function fileSizeDir (line 48) | function fileSizeDir(dir) { FILE: lib/analyze/collect/util/pointsToRanges.js function pointsToRanges (line 15) | function pointsToRanges(points, buckets) { function bucketsFromBreakpoints (line 35) | function bucketsFromBreakpoints(breakpoints) { FILE: lib/analyze/collect/util/promisePropsSettled.js function promisePropsSettled (line 13) | function promisePropsSettled(object) { FILE: lib/analyze/download/git.js function download (line 22) | function download(url, ref, tmpDir, options) { function getCloneUrl (line 77) | function getCloneUrl(gitInfo) { function git (line 103) | function git(packageJson, options) { FILE: lib/analyze/download/github.js function download (line 26) | function download(shorthand, ref, tmpDir, options) { function github (line 136) | function github(packageJson, options) { FILE: lib/analyze/download/index.js function getRandomStr (line 21) | function getRandomStr() { function createTmpDir (line 34) | function createTmpDir(name) { function cleanTmpDir (line 49) | function cleanTmpDir() { function download (line 68) | function download(packageJson, options) { FILE: lib/analyze/download/npm.js function download (line 22) | function download(target, url, tmpDir, options) { function npm (line 80) | function npm(packageJson, options) { FILE: lib/analyze/download/util/assertFilesCount.js function assertFilesCount (line 16) | function assertFilesCount(dir, maxFiles) { FILE: lib/analyze/download/util/findPackageDir.js function lookForPackageDir (line 17) | function lookForPackageDir(packageJson, dir) { function isSamePackage (line 53) | function isSamePackage(packageJson, dir) { function findPackageDir (line 85) | function findPackageDir(packageJson, dir) { FILE: lib/analyze/download/util/mergePackageJson.js function mergePackageJson (line 26) | function mergePackageJson(packageJson, packageDir) { FILE: lib/analyze/download/util/untar.js function assertFilesCount (line 23) | function assertFilesCount(file, maxFiles) { function decompress (line 59) | function decompress(file, destDir) { function untar (line 88) | function untar(file, options) { FILE: lib/analyze/evaluate/index.js function evaluate (line 12) | function evaluate(collected) { FILE: lib/analyze/evaluate/maintenance.js function evaluateReleasesFrequency (line 19) | function evaluateReleasesFrequency(collected) { function evaluateCommitsFrequency (line 60) | function evaluateCommitsFrequency(collected) { function evaluateOpenIssues (line 98) | function evaluateOpenIssues(collected) { function evaluateIssuesDistribution (line 133) | function evaluateIssuesDistribution(collected) { function isPackageFinished (line 182) | function isPackageFinished(collected) { function maintenance (line 206) | function maintenance(collected) { FILE: lib/analyze/evaluate/popularity.js function evaluateDownloadsCount (line 13) | function evaluateDownloadsCount(collected) { function evaluateDownloadsAcceleration (line 39) | function evaluateDownloadsAcceleration(collected) { function evaluateCommunityInterest (line 72) | function evaluateCommunityInterest(collected) { function popularity (line 90) | function popularity(collected) { FILE: lib/analyze/evaluate/quality.js function evaluateCarefulness (line 20) | function evaluateCarefulness(collected) { function evaluateTests (line 51) | function evaluateTests(collected) { function evaluateHealth (line 91) | function evaluateHealth(collected) { function evaluateBranding (line 147) | function evaluateBranding(collected) { function quality (line 173) | function quality(collected) { FILE: lib/analyze/index.js function get (line 22) | function get(name, npmsNano) { function remove (line 37) | function remove(name, npmsNano) { function save (line 62) | function save(analysis, npmsNano) { function saveFailed (line 104) | function saveFailed(name, err, npmsNano) { function analyze (line 139) | function analyze(name, npmNano, npmsNano, options) { FILE: lib/analyze/util/exec.js function escape (line 14) | function escape(pieces, ...substitutions) { function exec (line 32) | function exec(command, options) { FILE: lib/analyze/util/hostedGitInfo.js function hostedGitInfo (line 15) | function hostedGitInfo(repositoryUrl) { FILE: lib/analyze/util/normalizePackageJson.js function removePathFromRepositoryUrl (line 17) | function removePathFromRepositoryUrl(url) { function normalizePackageJson (line 34) | function normalizePackageJson(packageJson) { FILE: lib/analyze/util/packageJsonFromData.js function packageJsonFromData (line 15) | function packageJsonFromData(name, data) { FILE: lib/observers/realtime.js class RealtimeObserver (line 9) | class RealtimeObserver { method constructor (line 21) | constructor(npmNano, npmsNano, onPackage, options) { method destroy (line 43) | destroy() { method _ignoreIfStopped (line 57) | _ignoreIfStopped(fn) { method _start (line 73) | _start() { method _stop (line 98) | _stop() { method _fetchLastSeq (line 122) | _fetchLastSeq() { method _updateLastSeq (line 143) | _updateLastSeq(seq) { method _followChanges (line 169) | _followChanges() { method _addToBuffer (line 194) | _addToBuffer(change) { method _flushBuffer (line 225) | _flushBuffer() { method _filterModified (line 291) | _filterModified(names) { function realtime (line 327) | function realtime(npmAddr, npmsAddr, onPackage, options) { FILE: lib/observers/stale.js class StaleObserver (line 9) | class StaleObserver { method constructor (line 21) | constructor(npmsNano, onPackage, options) { method destroy (line 45) | destroy() { method _ignoreIfStopped (line 59) | _ignoreIfStopped(fn) { method _start (line 74) | _start() { method _stop (line 85) | _stop() { method _check (line 99) | _check() { method _checkType (line 120) | _checkType(type) { method _filterNotNotified (line 166) | _filterNotNotified(names, type) { function stale (line 200) | function stale(npmsAddr, onPackage, options) { FILE: lib/queue.js class Queue (line 24) | class Queue extends EventEmitter { method constructor (line 32) | constructor(name, addr, options) { method push (line 55) | push(data, priority) { method consume (line 91) | consume(fn, options) { method stat (line 126) | stat() { method destroy (line 139) | destroy() { method _connect (line 161) | _connect() { method _reconnect (line 226) | _reconnect(err) { method _disconnect (line 265) | _disconnect() { method _registerConsumer (line 290) | _registerConsumer(consumer) { method _handleConsumerSuccess (line 332) | _handleConsumerSuccess(message, queueMessage) { method _handleConsumerError (line 356) | _handleConsumerError(err, message, queueMessage) { method _sendToQueue (line 395) | _sendToQueue(message) { method _isConnected (line 415) | _isConnected() { method _assertConnected (line 422) | _assertConnected() { function queue (line 427) | function queue(name, addr, options) { FILE: lib/scoring/aggregate.js function calculateAggregation (line 21) | function calculateAggregation(evaluations) { function get (line 57) | function get(npmsNano) { function remove (line 74) | function remove(npmsNano) { function save (line 98) | function save(aggregation, npmsNano) { function aggregate (line 137) | function aggregate(npmsNano) { FILE: lib/scoring/finalize.js function finalize (line 14) | function finalize(esInfo, esClient) { FILE: lib/scoring/prepare.js constant JSON5 (line 4) | const JSON5 = require('json5'); function prepare (line 19) | function prepare(esClient) { FILE: lib/scoring/score.js function scoreQuality (line 22) | function scoreQuality(quality, aggregation) { function scorePopularity (line 46) | function scorePopularity(popularity, aggregation) { function scoreMaintenance (line 70) | function scoreMaintenance(maintenance, aggregation) { function calculateScore (line 99) | function calculateScore(value, aggregation, avgY) { function buildScore (line 128) | function buildScore(analysis, aggregation) { function getLivingIndices (line 169) | function getLivingIndices(esClient) { function storeScore (line 188) | function storeScore(score, livingIndices, esClient) { function get (line 216) | function get(name, esClient) { function remove (line 235) | function remove(name, esClient) { function save (line 260) | function save(score, esClient) { function all (line 279) | function all(aggregation, npmsNano, esClient) { function score (line 335) | function score(analysis, npmsNano, esClient) { FILE: lib/scoring/util/paperNumerical.js function clamp (line 76) | function clamp(value, min, max) { function getDiscriminant (line 80) | function getDiscriminant(a, b, c) { function getNormalizationFactor (line 107) | function getNormalizationFactor() { function evaluate (line 352) | function evaluate(x0) { FILE: test/spec/analyze/collect/source.js function mockExternal (line 17) | function mockExternal(mocks, dir) { FILE: test/spec/analyze/download/git.js function mock (line 12) | function mock(mocks) { FILE: test/util/sepia.js function enable (line 50) | function enable() { function disable (line 56) | function disable() {