Showing 222 of 222 total issues
Function set_ui
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
set_ui : function ($handle, value) {
var settings = $.data($handle[0], 'settings'),
handle_l = $.data($handle[0], 'handle_l'),
bar_l = $.data($handle[0], 'bar_l'),
norm_pct = this.normalized_percentage(value, settings.start, settings.end),
Function set_ui
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
set_ui : function ($handle, value) {
var settings = $.data($handle[0], 'settings'),
handle_l = $.data($handle[0], 'handle_l'),
bar_l = $.data($handle[0], 'bar_l'),
norm_pct = this.normalized_percentage(value, settings.start, settings.end),
Function equalize
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
equalize : function (equalizer) {
var isStacked = false,
group = equalizer.data('equalizer'),
settings = equalizer.data(this.attr_name(true)+'-init') || this.settings,
vals,
Function start
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
start : function () {
var self = this,
$this = $('[' + this.attr_name() + ']', this.scope),
integer_settings = ['timer', 'scrollSpeed', 'startOffset', 'tipAnimationFadeSpeed', 'cookieExpires'],
int_settings_count = integer_settings.length;
Function start
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
start : function () {
var self = this,
$this = $('[' + this.attr_name() + ']', this.scope),
integer_settings = ['timer', 'scrollSpeed', 'startOffset', 'tipAnimationFadeSpeed', 'cookieExpires'],
int_settings_count = integer_settings.length;
Function events
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
events : function () {
var self = this,
S = self.S,
settings = self.settings;
Function events
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
events : function () {
var self = this,
S = self.S,
settings = self.settings;
Method rights_for_signed_in_users
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def rights_for_signed_in_users
#
# Inherited from your_platform:
# - terms of use
# - users
Method check_corporation_memberships_consistency_for
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def check_corporation_memberships_consistency_for(netenv_user)
# Aktivmeldungsdatum?
if not netenv_user.aktivmeldungsdatum
warning = { message: 'Kein Aktivmeldungsdatum angegeben.',
Function events
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
events : function () {
var self = this,
S = this.S;
var usual_tab_behavior = function (e, target) {
Function events
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
events : function () {
var self = this,
S = this.S;
var usual_tab_behavior = function (e, target) {
Function _base
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_base : function (t) {
var o_p = this.offsetParent(),
o = o_p.offset(),
p = t.offset();
Function _base
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_base : function (t) {
var o_p = this.offsetParent(),
o = o_p.offset(),
p = t.offset();
Method import
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def import
log.head "External Corporations Import"
log.section "Import Parameters"
log.info "Import file: #{@filename}"
Function resize
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
resize : function () {
var self = this;
self.S('[' + this.attr_name() + ']').each(function () {
var topbar = self.S(this),
settings = topbar.data(self.attr_name(true) + '-init');
Function adjust_pip
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
adjust_pip : function (dropdown, target, settings, position) {
var sheet = Foundation.stylesheet,
pip_offset_base = 8;
if (dropdown.hasClass(settings.mega_class)) {
Method leibfamilie
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def leibfamilie
familie = []
familie << {description: "", user: self}
if leibbursch
relationship = Relationship.where(user1: leibbursch, name: "Leibbursch", user2: self).first
Function resize
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
resize : function () {
var self = this;
self.S('[' + this.attr_name() + ']').each(function () {
var topbar = self.S(this),
settings = topbar.data(self.attr_name(true) + '-init');
Function adjust_pip
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
adjust_pip : function (dropdown, target, settings, position) {
var sheet = Foundation.stylesheet,
pip_offset_base = 8;
if (dropdown.hasClass(settings.mega_class)) {
Method import_primary_corporation_from
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def import_primary_corporation_from( netenv_user )
corporation = netenv_user.primary_corporation
if netenv_user.ehrenphilister?(corporation)