toddy15/spamdetect

View on GitHub
src/SpamDetect.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Method getTokenProbabilities has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

    private function getTokenProbabilities(array $found_tokens): array
    {
        $count_ham_texts = 1;
        $total_spam_texts = 1;
        if (! is_null($this->stats)) {
Severity: Minor
Found in src/SpamDetect.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status