pixijs/pixi-haxe

View on GitHub
src/pixi/plugins/spine/core/AnimationState.hx

Summary

Maintainability
Test Coverage

Too many parameters for function: applyRotateTimeline (> 7)
Open

    public function applyRotateTimeline(timeline: Timeline, skeleton: Skeleton, time: Float, alpha: Float, pose: MixPose, timelinesRotation: Array<Float>, i: Float, firstFrame: Bool):Void;

Checks the number of parameters of a method.

Line is longer than 160 characters (found 185)
Open

    public function applyRotateTimeline(timeline: Timeline, skeleton: Skeleton, time: Float, alpha: Float, pose: MixPose, timelinesRotation: Array<Float>, i: Float, firstFrame: Bool):Void;

Checks for long lines. Long lines are hard to read.

Empty line required after package declaration
Open

import pixi.plugins.spine.core.AnimationStateData;

Checks for consecutive empty lines (default is 1). Also have options to check empty line separators after package, single-line and multi-line comments and class/interface/abstract declarations.

Left curly should be at EOL (only line break or comment after curly)
Open

{

Checks for the placement of left curly braces ({) for code blocks. The policy to verify is specified using the property option.

Trailing whitespace
Open

extern class AnimationState 

Checks if there are any trailing white spaces.

Trailing whitespace
Open

    public function setAnimationByName(trackIndex: Int, animationName: String, loop: Bool):Void;    

Checks if there are any trailing white spaces.

Trailing whitespace
Open

    

Checks if there are any trailing white spaces.

Detected import pixi.plugins.spine.core.AnimationStateData from same package pixi.plugins.spine.core
Open

import pixi.plugins.spine.core.AnimationStateData;

Checks for unused or duplicate imports.

Detected import pixi.plugins.spine.core.Event from same package pixi.plugins.spine.core
Open

import pixi.plugins.spine.core.Event;

Checks for unused or duplicate imports.

Trailing whitespace
Open

    public dynamic function onEnd(trackIndex: Int):Void;    

Checks if there are any trailing white spaces.

There are no issues that match your filters.

Category
Status