adobe/brackets

View on GitHub
src/thirdparty/murmurhash3_gc.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function hashBytes has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    hashBytes: function(data, len, seed) {
        var c1 = 0xcc9e2d51, c2 = 0x1b873593;

        var h1 = seed;
        var roundedEnd = len & ~0x3;
Severity: Minor
Found in src/thirdparty/murmurhash3_gc.js - About 1 hr to fix

    Function hashString has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        hashString: function(data, len, seed) {
            var c1 = 0xcc9e2d51, c2 = 0x1b873593;
    
            var h1 = seed;
            var roundedEnd = len & ~0x1;
    Severity: Minor
    Found in src/thirdparty/murmurhash3_gc.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status