Showing 215 of 375 total issues
File login_form_controller.js
has 283 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
chromeMyAdmin.controller("LoginFormController", function(
$scope,
$timeout,
mySQLClientService,
favoriteService,
Function HZGB2312Decoder
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function HZGB2312Decoder(options) {
var fatal = options.fatal;
var /** @type {boolean} */ hzgb2312 = false,
/** @type {number} */ hzgb2312_lead = 0x00;
/**
Function EUCJPDecoder
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function EUCJPDecoder(options) {
var fatal = options.fatal;
var /** @type {number} */ eucjp_first = 0x00,
/** @type {number} */ eucjp_second = 0x00;
/**
Function decode
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.decode = function(byte_pointer) {
var bite = byte_pointer.get();
if (bite === EOF_byte && hzgb2312_lead === 0x00) {
return EOF_code_point;
}
Function decode
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.decode = function(byte_pointer) {
var bite = byte_pointer.get();
if (bite === EOF_byte) {
if (eucjp_first === 0x00 && eucjp_second === 0x00) {
return EOF_code_point;
Function createWindow
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createWindow() {
chrome.storage.local.get("windowSize", function(items) {
var params = {};
if (items.windowSize) {
var windowSize = items.windowSize;
Function _doQuery
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var _doQuery = function(task, showProgressBar) {
if (showProgressBar) {
$rootScope.showMainStatusMessage("Executing query...");
$rootScope.showProgressBar();
}
Function Big5Decoder
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Big5Decoder(options) {
var fatal = options.fatal;
var /** @type {number} */ big5_lead = 0x00,
/** @type {?number} */ big5_pending = null;
Function UTF8Decoder
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function UTF8Decoder(options) {
var fatal = options.fatal;
var /** @type {number} */ utf8_code_point = 0,
/** @type {number} */ utf8_bytes_needed = 0,
/** @type {number} */ utf8_bytes_seen = 0,
File edit_column_dialog_controller.js
has 262 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
chromeMyAdmin.controller("EditColumnDialogController", function(
$scope,
Events,
mySQLClientService,
$q,
Function decode
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.decode = function(byte_pointer) {
// NOTE: Hack to support emitting two code points
if (big5_pending !== null) {
var pending = big5_pending;
big5_pending = null;
Function decode
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.decode = function(byte_pointer) {
var bite = byte_pointer.get();
if (bite === EOF_byte) {
if (utf8_bytes_needed !== 0) {
return decoderError(fatal);
Function assignEventHandlers
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var assignEventHandlers = function() {
$scope.$on(Events.CONNECTION_CHANGED, function(event, data) {
onConnectionChanged();
});
$scope.$on(Events.DATABASE_CHANGED, function(event, database) {
Function createRoutine
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.createRoutine = function() {
var sql = "CREATE DEFINER=CURRENT_USER ";
sql += $scope.routineType + " `";
sql += $scope.routineName + "` (";
var params = [];
Function ISO2022JPEncoder
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ISO2022JPEncoder(options) {
var fatal = options.fatal;
/** @enum */
var state = {
ASCII: 0,
Function ISO2022KREncoder
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ISO2022KREncoder(options) {
var fatal = options.fatal;
/** @enum */
var state = {
ASCII: 0,
Function EUCKRDecoder
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function EUCKRDecoder(options) {
var fatal = options.fatal;
var /** @type {number} */ euckr_lead = 0x00;
/**
* @param {ByteInputStream} byte_pointer
Function set
has 15 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
set: function(name, hostName, port, userName, password, useSSL, caCert, checkCN, usePortForwarding, ssh2HostName, ssh2Port, ssh2AuthType, ssh2UserName, ssh2Password, ssh2PrivateKey) {
Function loadDumpData
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var loadDumpData = function(tables, index, deferred) {
if (index == tables.length) {
deferred.resolve(tables);
} else {
var table = tables[index];
Function decode
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.decode = function(byte_pointer) {
var bite = byte_pointer.get();
if (bite === EOF_byte && euckr_lead === 0) {
return EOF_code_point;
}