pixijs/pixi-haxe

View on GitHub
samples/src/video/Main.hx

Summary

Maintainability
Test Coverage

0xE0E6F8 is a magic number
Open

        backgroundColor = 0xE0E6F8;
Severity: Info
Found in samples/src/video/Main.hx by haxe-checkstyle

Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.

Invalid method name signature: main (name should be ~/^_[a-z][a-zA-Z0-9]*$/)
Open

    static function main() {
        new Main();
    }
Severity: Info
Found in samples/src/video/Main.hx by haxe-checkstyle

Checks that method names conform to a format specified by the format property.

Unused import pixi.core.display.Container detected
Open

import pixi.core.display.Container;
Severity: Info
Found in samples/src/video/Main.hx by haxe-checkstyle

Checks for unused or duplicate imports.

Empty block should be written as {}
Open

    function _onResize() {

    }
Severity: Info
Found in samples/src/video/Main.hx by haxe-checkstyle

Checks for empty blocks. The policy to verify is specified using the property option.

Empty block should be written as {}
Open

    function _setup() {

    }
Severity: Info
Found in samples/src/video/Main.hx by haxe-checkstyle

Checks for empty blocks. The policy to verify is specified using the property option.

Empty block should be written as {}
Open

    function _onUpdate(elapsedTime:Float) {

    }
Severity: Info
Found in samples/src/video/Main.hx by haxe-checkstyle

Checks for empty blocks. The policy to verify is specified using the property option.

There are no issues that match your filters.

Category
Status