NodeBB/NodeBB

View on GitHub
src/notifications.js

Summary

Maintainability
A
1 hr
Test Coverage

Function merge has 96 lines of code (exceeds 75 allowed). Consider refactoring.
Open

Notifications.merge = async function (notifications) {
    // When passed a set of notification objects, merge any that can be merged
    const mergeIds = [
        'notifications:upvoted-your-post-in',
        'notifications:user-started-following-you',
Severity: Major
Found in src/notifications.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status