Showing 9,400 of 17,590 total issues
Function addClass
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
addClass: function( value ) {
var classes, elem, cur, clazz, j,
i = 0,
len = this.length,
proceed = typeof value === "string" && value;
Function html
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
html: function( value ) {
return jQuery.access( this, function( value ) {
var elem = this[0] || {},
i = 0,
l = this.length;
Function removeClass
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
removeClass: function( value ) {
var classes, elem, cur, clazz, j,
i = 0,
len = this.length,
proceed = arguments.length === 0 || typeof value === "string" && value;
Function certificate_managed
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def certificate_managed(name,
days_remaining=90,
managed_private_key=None,
append_certs=None,
**kwargs):
Function present
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def present(name,
base_dashboards_from_pillar=None,
base_panels_from_pillar=None,
base_rows_from_pillar=None,
dashboard=None,
Function sls
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def sls(mods, saltenv='base', test=None, exclude=None, **kwargs):
'''
Create the seed file for a state.sls run
'''
st_kwargs = __salt__.kwargs
Function create
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def create(name,
config=None,
profile=None,
network_profile=None,
nic_opts=None,
Function build_rule
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def build_rule(table=None, chain=None, command=None, position='', full=None, family='ipv4',
**kwargs):
'''
Build a well-formatted nftables rule based on kwargs.
A `table` and `chain` are not required, unless `full` is True.
Function install
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def install(name=None,
fromrepo=None,
pkgs=None,
sources=None,
jail=None,
Function show_pricing
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def show_pricing(kwargs=None, call=None):
'''
Show pricing for a particular profile. This is only an estimate, based on
unofficial pricing sources.
Function create
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def create(vm_):
'''
Create a single VM from a data dict
'''
try:
Function create
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def create(vm_):
'''
Create a VM in Xen
The configuration for this function is read from the profile settings.
Function init
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def init(names, host=None, saltcloud_mode=False, quiet=False, **kwargs):
'''
Initialize a new container
Function create_vs
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def create_vs(self, name, ip, port, protocol, profile, pool_name):
'''
Create a virtual server
'''
vs = self.bigIP.LocalLB.VirtualServer
Function ext_pillar
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def ext_pillar(minion_id,
pillar, # pylint: disable=W0613
**kwargs):
'''
Check vmware/vcenter for all data
Function finish
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
finish: function( type ) {
if ( type !== false ) {
type = type || "fx";
}
return this.each(function() {
Function fix
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
fix: function( event ) {
if ( event[ jQuery.expando ] ) {
return event;
}
Function installed
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def installed(
name,
version=None,
refresh=None,
fromrepo=None,
Function check_pillar
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def check_pillar(name,
present=None,
boolean=None,
integer=None,
string=None,
Function _parse_settings_eth
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def _parse_settings_eth(opts, iface_type, enabled, iface):
'''
Filters given options and outputs valid settings for a
network interface.
'''