aureooms/js-pseudo-random

View on GitHub
src/genBit.js

Summary

Maintainability
A
1 hr
Test Coverage

Function genBit has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function* genBit(prng) {
    for (const x of prng) {
        yield (x >>> 0) & 1;
        yield (x >>> 1) & 1;
        yield (x >>> 2) & 1;
Severity: Minor
Found in src/genBit.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status