hellowin/kanca

View on GitHub

Showing 47 of 264 total issues

File office-ui-fabric-react_vx.x.x.js has 4365 lines of code (exceeds 250 allowed). Consider refactoring.
Open

// flow-typed signature: 8fe4de24b96d1a79c9580c06badf8774
// flow-typed version: <<STUB>>/office-ui-fabric-react_v^1.9.1/flow_v0.43.1

/**
 * This is an autogenerated libdef stub for:
Severity: Major
Found in flow-typed/npm/office-ui-fabric-react_vx.x.x.js - About 1 wk to fix

    File eslint_vx.x.x.js has 1947 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    // flow-typed signature: 67107edacbda29c147b24c9b0d8966e6
    // flow-typed version: <<STUB>>/eslint_v^3.8.1/flow_v0.45.0
    
    /**
     * This is an autogenerated libdef stub for:
    Severity: Major
    Found in flow-typed/npm/eslint_vx.x.x.js - About 5 days to fix

      File eslint-plugin-jsx-a11y_vx.x.x.js has 1191 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      // flow-typed signature: e364416a275e86073351f1da7f829749
      // flow-typed version: <<STUB>>/eslint-plugin-jsx-a11y_v^4.0.0/flow_v0.45.0
      
      /**
       * This is an autogenerated libdef stub for:
      Severity: Major
      Found in flow-typed/npm/eslint-plugin-jsx-a11y_vx.x.x.js - About 3 days to fix

        File c3_vx.x.x.js has 783 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        // flow-typed signature: f8b8acbaeb1d6d64e5ea7c0f6d5da59b
        // flow-typed version: <<STUB>>/c3_v^0.4.11/flow_v0.45.0
        
        /**
         * This is an autogenerated libdef stub for:
        Severity: Major
        Found in flow-typed/npm/c3_vx.x.x.js - About 1 day to fix

          File stopwords.id.js has 764 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          export default `
          ada
          adalah
          adanya
          adapun
          Severity: Major
          Found in src/infra/service/stopwords.id.js - About 1 day to fix

            File stopwords.en.js has 666 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            export default `
            a
            able
            about
            above
            Severity: Major
            Found in src/infra/service/stopwords.en.js - About 1 day to fix

              File lodash_v4.x.x.js has 456 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              // flow-typed signature: 53b581d81115b53eaf3a74ae963c4f43
              // flow-typed version: ba3c3d2dca/lodash_v4.x.x/flow_>=v0.38.x <=v0.46.x
              
              declare module 'lodash' {
                declare type TemplateSettings = {
              Severity: Minor
              Found in flow-typed/npm/lodash_v4.x.x.js - About 6 hrs to fix

                File reactstrap_vx.x.x.js has 441 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                // flow-typed signature: 27566c11c717a726f291b15f980cfee5
                // flow-typed version: <<STUB>>/reactstrap_v^4.6.1/flow_v0.45.0
                
                /**
                 * This is an autogenerated libdef stub for:
                Severity: Minor
                Found in flow-typed/npm/reactstrap_vx.x.x.js - About 6 hrs to fix

                  File eslint-plugin-react_vx.x.x.js has 411 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  // flow-typed signature: cfee25e961d54fbe67843958c9898e14
                  // flow-typed version: <<STUB>>/eslint-plugin-react_v^6.4.1/flow_v0.45.0
                  
                  /**
                   * This is an autogenerated libdef stub for:
                  Severity: Minor
                  Found in flow-typed/npm/eslint-plugin-react_vx.x.x.js - About 5 hrs to fix

                    File react-router_vx.x.x.js has 411 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    // flow-typed signature: a576c2db8b3450ad3bee1f6e592d55aa
                    // flow-typed version: <<STUB>>/react-router_v^3.0.2/flow_v0.45.0
                    
                    /**
                     * This is an autogenerated libdef stub for:
                    Severity: Minor
                    Found in flow-typed/npm/react-router_vx.x.x.js - About 5 hrs to fix

                      File store_vx.x.x.js has 315 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      // flow-typed signature: eabf4cba2336c7765b9b158f38b153c3
                      // flow-typed version: <<STUB>>/store_v^2.0.4/flow_v0.45.0
                      
                      /**
                       * This is an autogenerated libdef stub for:
                      Severity: Minor
                      Found in flow-typed/npm/store_vx.x.x.js - About 3 hrs to fix

                        Function GroupPost has 81 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        const GroupPost = (props: Post) => {
                          const {
                            created_time,
                            message,
                            description,
                        Severity: Major
                        Found in src/domain/group/component/Post.js - About 3 hrs to fix

                          Function render has 73 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                            render() {
                              const { list, ChildNode, hideNavigationOnSinglePage, perPage, Wrapper } = this.props;
                              const { page } = this.state;
                          
                              // handle default props
                          Severity: Major
                          Found in src/infra/component/Pagination.js - About 2 hrs to fix

                            Function render has 60 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                              render() {
                                const { feeds, members, comments, data, onFormChange } = this.props;
                                const metric: TimeRangeMetric = timeRangeMetricer(data.dateStart, data.dateEnd, feeds, members, comments);
                                const metrics: TimeRangeMetric[] = metric.getTimeSeries(data.granularity);
                                
                            Severity: Major
                            Found in src/domain/metric/container/Summary.js - About 2 hrs to fix

                              Function render has 57 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                render() {
                                  const { posts, members, comments, profile, data, onFormChange } = this.props;
                              
                                  const userId = profile.facebookId;
                              
                              
                              Severity: Major
                              Found in src/domain/metric/container/UserProfile.js - About 2 hrs to fix

                                File eslint-plugin-import_vx.x.x.js has 261 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                // flow-typed signature: 6041763c941b76e4d94e8afd85d1d7e1
                                // flow-typed version: <<STUB>>/eslint-plugin-import_v^2.0.1/flow_v0.45.0
                                
                                /**
                                 * This is an autogenerated libdef stub for:
                                Severity: Minor
                                Found in flow-typed/npm/eslint-plugin-import_vx.x.x.js - About 2 hrs to fix

                                  File eslint-plugin-flowtype_vx.x.x.js has 261 lines of code (exceeds 250 allowed). Consider refactoring.
                                  Open

                                  // flow-typed signature: 8dd4c4babf4a260e87a327b8912cf1a9
                                  // flow-typed version: <<STUB>>/eslint-plugin-flowtype_v^2.21.0/flow_v0.45.0
                                  
                                  /**
                                   * This is an autogenerated libdef stub for:
                                  Severity: Minor
                                  Found in flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js - About 2 hrs to fix

                                    Function calculate has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    const calculate = (type: PieType, metric: TimeRangeMetric): { key: string, value: number }[] => {
                                      switch (type) {
                                        case PieTypes.POSTS_PERDAY:
                                          return metric.postsMetric.postsByDays().map(pos => ({ key: pos.day, value: pos.postsMetric.totalPosts() }));
                                        case PieTypes.POSTS_PERHOUR:
                                    Severity: Minor
                                    Found in src/domain/metric/component/Pie.js - About 2 hrs to fix

                                      Function render has 49 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                        render() {
                                          const { metric, type } = this.props;
                                      
                                          return (
                                            <Card title={generateTitle(type).title}>
                                      Severity: Minor
                                      Found in src/domain/metric/component/TopUserActivity.js - About 1 hr to fix

                                        Function render has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                          render() {
                                            const { homepage, version } = config;
                                            const { starCount } = this.props;
                                            
                                            return (
                                        Severity: Minor
                                        Found in src/domain/layout/component/Footer.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language