source/insight/vault.ts
Function generateVaultInsights
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function generateVaultInsights(vault: Vault): VaultInsights {
let groupCount = 0,
entryCount = 0,
trashEntryCount = 0,
trashGroupCount = 0,
Function processGroup
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const processGroup = group => {
const entries = group.getEntries();
groupCount += 1;
entryCount += entries.length;
entries.forEach(entry => {