Showing 334 of 1,376 total issues
Function render
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
return (
<ReactiveBase
app="good-books-ds"
credentials="nY6NNTZZ6:27b76b9f-18ea-456c-bc5e-3a5263ebc63d"
Function render
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
return (
<Container style={this.props.style} className={this.props.className}>
{this.props.title && (
<Title className={getClassName(this.props.innerClass, 'title') || null}>
Function componentDidMount
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
componentDidMount() {
this.props.addComponent(this.internalComponent);
this.props.addComponent(this.props.componentId);
if (this.props.stream) {
Function componentWillReceiveProps
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
componentWillReceiveProps(nextProps) {
checkPropChange(this.props.react, nextProps.react, () => this.setReact(nextProps));
let startDate = null;
let endDate = null;
Function render
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
return (
<ReactiveBase
app="good-books-ds"
credentials="nY6NNTZZ6:27b76b9f-18ea-456c-bc5e-3a5263ebc63d"
Function render
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
return (
<ReactiveBase
app="good-books-ds"
credentials="nY6NNTZZ6:27b76b9f-18ea-456c-bc5e-3a5263ebc63d"
Function render
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
return (
<ReactiveBase
app="good-books-ds"
credentials="nY6NNTZZ6:27b76b9f-18ea-456c-bc5e-3a5263ebc63d"
Function componentWillReceiveProps
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
componentWillReceiveProps(nextProps) {
checkSomePropChange(
this.props,
nextProps,
['highlight', 'dataField', 'highlightField'],
Function componentWillReceiveProps
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
componentWillReceiveProps(nextProps) {
checkSomePropChange(
this.props,
nextProps,
['highlight', 'dataField', 'highlightField'],
Function getCompositeAggsQuery
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const getCompositeAggsQuery = (query, props, after) => {
const clonedQuery = { ...query };
// missing label not available in composite aggs
const { dataField, size, sortBy, showMissing } = props;
Function setValue
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setValue(value, isDefaultValue = false, props = this.$props, cause) {
// ignore state updates when component is locked
if (props.beforeValueChange && this.locked) {
return;
}
Function getAggsQuery
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const getAggsQuery = (query, props, include) => {
const clonedQuery = { ...query };
const {
dataField, size, sortBy, showMissing, missingLabel,
} = props;
Function render
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
return (
<ReactiveBase
app="good-books-ds"
credentials="nY6NNTZZ6:27b76b9f-18ea-456c-bc5e-3a5263ebc63d"
Function render
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
return (
<ReactiveBase
app="good-books-ds"
credentials="nY6NNTZZ6:27b76b9f-18ea-456c-bc5e-3a5263ebc63d"
Function render
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
return (
<ReactiveBase
app="good-books-ds"
credentials="nY6NNTZZ6:27b76b9f-18ea-456c-bc5e-3a5263ebc63d"
Function render
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
return (
<Container style={this.props.style} className={this.props.className}>
{this.props.title && (
<Title className={getClassName(this.props.innerClass, 'title') || null}>
Function render
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const { color, ...checkBoxStyles } = getInnerKey(this.props.innerStyle, 'checkbox');
return (
<TouchableItem pressOpacity={0.5} delayPressIn={0} onPress={this.handlePress}>
<View
Function render
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
return (
<Picker
iosHeader="Select one"
mode="dropdown"
Function componentWillReceiveProps
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
componentWillReceiveProps(nextProps) {
checkPropChange(this.props.react, nextProps.react, () => this.setReact(nextProps));
checkSomePropChange(this.props, nextProps, ['dataField', 'nestedField'], () => {
this.updateQuery(this.state.currentDistance, nextProps);
Function componentWillReceiveProps
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
componentWillReceiveProps(nextProps) {
checkPropChange(this.props.react, nextProps.react, () => this.setReact(nextProps));
checkPropChange(this.props.options, nextProps.options, () => {
const { showLoadMore, dataField } = nextProps;
if (showLoadMore) {