Showing 877 of 877 total issues
Method _setup
length is 55 lines (max allowed is 50) Open
function _setup() {
renderer.view.style.transform = "translatez(0)";
maxX = Browser.window.innerWidth;
maxY = Browser.window.innerHeight;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks for long methods. If a method becomes very long it is hard to understand. Therefore long methods should usually be refactored into several individual methods that focus on a specific task.
Method _replaceDisplay
length is 74 lines (max allowed is 50) Open
function _replaceDisplay() {
_displayIndex = (_displayIndex + 1) % _replaceDisplays.length;
var replaceDisplayName = _replaceDisplays[_displayIndex];
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks for long methods. If a method becomes very long it is hard to understand. Therefore long methods should usually be refactored into several individual methods that focus on a specific task.
Method _init
length is 54 lines (max allowed is 50) Open
function _init() {
position = "fixed";
backgroundColor = 0x003366;
antialias = true;
onUpdate = _onUpdate;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks for long methods. If a method becomes very long it is hard to understand. Therefore long methods should usually be refactored into several individual methods that focus on a specific task.
Method _draw
length is 55 lines (max allowed is 50) Open
function _draw() {
if (_videoElement.paused || _videoElement.ended) return;
//_context.drawImage(_videoElement, 0, 200, 480, 50, 0, 0, 480, 50);
_context.drawImage(_videoElement, 0, 384, 400, 16, 0, 0, 400, 16);
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks for long methods. If a method becomes very long it is hard to understand. Therefore long methods should usually be refactored into several individual methods that focus on a specific task.
Too many parameters for function: setTransform (> 7) Open
function setTransform(?x:Float, ?y:Float, ?scaleX:Float, ?scaleY:Float, ?rotation:Float, ?skewX:Float, ?skewY:Float, ?pivotX:Float, ?pivotY:Float):DisplayObject;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks the number of parameters of a method.
Parameter definition of height
masks member of same name Open
function resize(width:Float, height:Float):Void;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that a local variable or a parameter does not shadow a field that is defined in the same class.
Parameter definition of rect
masks member of same name Open
function getRectangle(rect:Rectangle):Rectangle;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that a local variable or a parameter does not shadow a field that is defined in the same class.
Parameter definition of y
masks member of same name Open
override function contains(x:Float, y:Float):Bool;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that a local variable or a parameter does not shadow a field that is defined in the same class.
Parameter definition of position
masks member of same name Open
function toLocal(position:Point, ?frm:DisplayObject, ?point:Point):Point;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that a local variable or a parameter does not shadow a field that is defined in the same class.
Parameter definition of width
masks member of same name Open
function resize(width:Float, height:Float):Void;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that a local variable or a parameter does not shadow a field that is defined in the same class.
Parameter definition of shape
masks member of same name Open
function addHole(shape:Dynamic):Void;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that a local variable or a parameter does not shadow a field that is defined in the same class.
Parameter definition of name
masks member of same name Open
function removeBoneMask(name:String, ?recursive:Bool):Void;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that a local variable or a parameter does not shadow a field that is defined in the same class.
Parameter definition of name
masks member of same name Open
function getBone(name:String):BoneData;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that a local variable or a parameter does not shadow a field that is defined in the same class.
Parameter definition of sourceFrame
masks member of same name Open
function calculateProjection(destinationFrame:Rectangle, sourceFrame:Rectangle):Void;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that a local variable or a parameter does not shadow a field that is defined in the same class.
Parameter definition of animationConfig
masks member of same name Open
function playConfig(animationConfig:AnimationConfig):AnimationState;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that a local variable or a parameter does not shadow a field that is defined in the same class.
Variable definition of renderer
masks member of same name Open
var renderer = switch (rendererType) {
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that a local variable or a parameter does not shadow a field that is defined in the same class.
Parameter definition of position
masks member of same name Open
function toGlobal(position:Point, ?point:Point, ?skipUpdate:Bool):Point;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that a local variable or a parameter does not shadow a field that is defined in the same class.
Parameter definition of height
masks member of same name Open
function resize(width:Float, height:Float):Void;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that a local variable or a parameter does not shadow a field that is defined in the same class.
Too many parameters for function: drawSegment (> 7) Open
function drawSegment(context:CanvasRenderingContext2D, textureSource:Dynamic, w:Float, h:Float, x1:Float, y1:Float, x2:Float, y2:Float):Void;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks the number of parameters of a method.
Parameter definition of name
masks member of same name Open
function getArmature(name:String):ArmatureData;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that a local variable or a parameter does not shadow a field that is defined in the same class.