Details

    • Type: Code Smell Detection
    • Status: Active
    • Resolution: Unresolved
    • Labels:
    • Message:
      Split this {0} characters long line (which is greater than {1} authorized).
    • List of parameters:
      Hide

      Key: maximumLineLength
      Description: The maximum authorized line length.
      Default Value: 120
      Default Value for JavaScript: 180
      Default Value for T-SQL: 200

      Show
      Key: maximumLineLength Description: The maximum authorized line length. Default Value: 120 Default Value for JavaScript: 180 Default Value for T-SQL: 200
    • Default Severity:
      Major
    • Impact:
      Low
    • Likelihood:
      High
    • Legacy Key:
      LineLength, Web:MaxLineLengthCheck
    • Targeted languages:
      Cobol
    • Covered Languages:
      ABAP, APEX, C#, C, C++, Flex, Go, HTML, Java, JavaScript, Kotlin, Objective-C, PHP, PL/I, PL/SQL, Python, Ruby, Scala, Swift, T-SQL, TypeScript, VB.Net, VB6, XML
    • Irrelevant for Languages:
      RPG
    • Remediation Function:
      Constant/Issue
    • Constant Cost:
      1min
    • Analysis Level:
      Syntactic Analysis
    • Analysis Scope:
      Main Sources, Test Sources
    • Common Rule:
      Yes
    • Checkstyle:
      LineLength
    • ESLint:
      max-len
    • SwiftLint:
      line_length
    • TSLint:
      max-line-length

      Description

      Having to scroll horizontally makes it harder to get a quick overview and understanding of any piece of code.

        Attachments

          Issue Links

          1.
          C-Family RSPEC-2894 Language-Specification Active Unassigned
          2.
          VB.NET RSPEC-3101 Language-Specification Active Unassigned
          3.
          PHP RSPEC-3132 Language-Specification Active Unassigned
          4.
          HTML RSPEC-3266 Language-Specification Active Unassigned
          5.
          Flex RSPEC-3304 Language-Specification Active Unassigned
          6.
          C# RSPEC-3396 Language-Specification Active Unassigned
          7.
          JavaScript RSPEC-3979 Language-Specification Active Unassigned
          8.
          PL/SQL RSPEC-4253 Language-Specification Active Unassigned
          9.
          Python RSPEC-4404 Language-Specification Active Unassigned
          10.
          Go RSPEC-4571 Language-Specification Active Unassigned

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                freddy.mallet Freddy Mallet (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: