MCPcopy
hub / github.com/webpack/webpack / getStatisticMessage

Method getStatisticMessage

lib/FileSystemInfo.js:694–704  ·  lib/FileSystemInfo.js::SnapshotOptimization.getStatisticMessage
()

Source from the content-addressed store, hash-verified

692 }
693
694 getStatisticMessage() {
695 const total = this._statItemsShared + this._statItemsUnshared;
696 if (total === 0) return;
697 return `${
698 this._statItemsShared && Math.round((this._statItemsShared * 100) / total)
699 }% (${this._statItemsShared}/${total}) entries shared via ${
700 this._statSharedSnapshots
701 } shared snapshots (${
702 this._statReusedSharedSnapshots + this._statSharedSnapshots
703 } times referenced)`;
704 }
705
706 clear() {
707 this._map.clear();

Callers 1

logStatisticsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected