Showing 429 of 903 total issues
Function on
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function on( elem, types, selector, data, fn, one ) {
var origFn, type;
// Types can be a map of types/handlers
if ( typeof types === "object" ) {
Method SetColorFilter
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void SetColorFilter(ColorFilterTypes colorFilterType)
{
Bitmap bmap = new Bitmap(_currentBitmap.Width, _currentBitmap.Height);
Color c;
for (int i = 0; i < _currentBitmap.Width; i++)
Function addCombinator
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function addCombinator( matcher, combinator, base ) {
var dir = combinator.dir,
checkNonElements = base && dir === "parentNode",
doneName = done++;
Function access
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
var i = 0,
len = elems.length,
bulk = key == null;
Function toggleClass
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
toggleClass: function( value, stateVal ) {
var type = typeof value;
if ( typeof stateVal === "boolean" && type === "string" ) {
return stateVal ? this.addClass( value ) : this.removeClass( value );
Function toggleClass
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
toggleClass: function( value, stateVal ) {
var type = typeof value;
if ( typeof stateVal === "boolean" && type === "string" ) {
return stateVal ? this.addClass( value ) : this.removeClass( value );
Function access
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
var i = 0,
len = elems.length,
bulk = key == null;
Method SwitchMode
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void SwitchMode()
{
_modeView.Image = Tools.Utilities.Resources.ResourceIconSet32Default.shape_square;
_modeView.SmallImage = Tools.Utilities.Resources.ResourceIconSet16Default.shape_square;
_modeEdition.Image = Tools.Utilities.Resources.ResourceIconSet32Default.shape_square;
Function each
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
each: function( obj, callback, args ) {
var value,
i = 0,
length = obj.length,
isArray = isArraylike( obj );
Function dispatch
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
dispatch: function( nativeEvent ) {
// Make a writable jQuery.Event from the native event object
var event = jQuery.event.fix( nativeEvent );
Function dispatch
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
dispatch: function( nativeEvent ) {
// Make a writable jQuery.Event from the native event object
var event = jQuery.event.fix( nativeEvent );
Method BuildToolsSize
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void BuildToolsSize()
{
_ts_resize = new RibbonButton("Resize");
_ts_resize.Click += new EventHandler(tsb_Click);
_ts_resize.SmallImage = Tools.Utilities.Resources.ResourceIconSet16Default.layer_to_image_size;
Method BuildToolsReturn
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void BuildToolsReturn()
{
_ts_returnH = new RibbonButton("Return horizontal");
_ts_returnH.MinSizeMode = RibbonElementSizeMode.Compact;
_ts_returnH.Style = RibbonButtonStyle.Normal;
Method BhattacharyyaDifference
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static float BhattacharyyaDifference(this System.Drawing.Bitmap img1, System.Drawing.Bitmap img2)
{
byte[,] img1GrayscaleValues = img1.GetGrayScaleValues();
byte[,] img2GrayscaleValues = img2.GetGrayScaleValues();
Method BuildPanelView
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void BuildPanelView()
{
_ts_tool_addImage = new RibbonButton("Insert image");
_ts_tool_addImage.Click += new EventHandler(tsb_Click);
_ts_tool_addImage.SmallImage = Tools.Utilities.Resources.ResourceIconSet16Default.insert_object;
Method SetContrast
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void SetContrast(double contrast)
{
Bitmap bmap = new Bitmap(_currentBitmap.Width, _currentBitmap.Height);
if (contrast < -100) contrast = -100;
if (contrast > 100) contrast = 100;
Method BuildPanelNavigation
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void BuildPanelNavigation()
{
_ts_fullscreen = new RibbonButton("Full screen");
_ts_fullscreen.ToolTip = "Full screen";
_ts_fullscreen.Click += new EventHandler(tsb_Click);
Method ResizeAndDisplayImage
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void ResizeAndDisplayImage()
{
// Set the backcolor of the pictureboxes
_picturebox.BackColor = _backColor;
//pictureboxmini.BackColor = BackColor;
Function ajaxHandleResponses
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ajaxHandleResponses( s, jqXHR, responses ) {
var ct, type, finalDataType, firstDataType,
contents = s.contents,
dataTypes = s.dataTypes;
Function ajaxHandleResponses
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ajaxHandleResponses( s, jqXHR, responses ) {
var ct, type, finalDataType, firstDataType,
contents = s.contents,
dataTypes = s.dataTypes;