pixelfed/pixelfed

View on GitHub
app/Services/TrendingHashtagService.php

Summary

Maintainability
A
1 hr
Test Coverage

Method getTrending has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function getTrending()
    {
        $minId = self::getMinRecentId();

        $skipIds = array_merge(self::getBannedHashtags(), self::getNonTrendingHashtags(), self::getNsfwHashtags());
Severity: Minor
Found in app/Services/TrendingHashtagService.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status