henzeb/enumhancer

View on GitHub
src/Helpers/Bitmasks/EnumBitmasks.php

Summary

Maintainability
A
2 hrs
Test Coverage
A
99%

The class EnumBitmasks has an overall complexity of 57 which is very high. The configured complexity threshold is 50.
Open

final class EnumBitmasks
{
    private static $isValid = [];

    private static function countSetBits(int $bit): int
Severity: Minor
Found in src/Helpers/Bitmasks/EnumBitmasks.php by phpmd

EnumBitmasks has 21 functions (exceeds 20 allowed). Consider refactoring.
Open

final class EnumBitmasks
{
    private static $isValid = [];

    private static function countSetBits(int $bit): int
Severity: Minor
Found in src/Helpers/Bitmasks/EnumBitmasks.php - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status