-
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:
-
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
Having to scroll horizontally makes it harder to get a quick overview and understanding of any piece of code.
- is implemented by
-
SONARCOBOL-1484 Rule: Lines should not be too long
-
- Open
-
-
SLVS-1027 Add line length rule
-
- Closed
-
-
SONARABAP-155 Rule "Lines should not be too long"
-
- Closed
-
-
SONARPY-26 Rule: Lines should not be too long
-
- Closed
-
-
SONARSLANG-37 Rule S103: Lines should not be too long
-
- Closed
-
-
SONARSLANG-120 Enable in Ruby rule S103 (TooLongLineCheck)
-
- Closed
-
-
SONARSLANG-192 [Scala] Enable Rule: S103 Lines should not be too long
-
- Closed
-
-
SONARSLANG-260 [Apex] Enable Rule: S103 Lines should not be too long
-
- Closed
-
-
SONARSWIFT-44 Rule: Lines should not be too long
-
- Closed
-
-
SONARTSQL-28 Rule: Lines should not be too long
-
- Closed
-
-
SONARXML-64 Rule S103: Lines should not be too long
-
- Closed
-
-
SONARVBSIX-159 Rule: Lines should not be too long
-
- Closed
-
-
CPP-707 Create Objective-C rules repository containing targeted rules
-
- Closed
-
- is related to
-
SONARFLEX-70 S103 LineLength: Update parameter default value
-
- Closed
-
-
MMF-783 PLSQL: Default profile noise reduction
-
- Closed
-
- links to
1.
|
C-Family | RSPEC-2894 |
|
Active | Unassigned | |
2.
|
VB.NET | RSPEC-3101 |
|
Active | Unassigned | |
3.
|
PHP | RSPEC-3132 |
|
Active | Unassigned | |
4.
|
HTML | RSPEC-3266 |
|
Active | Unassigned | |
5.
|
Flex | RSPEC-3304 |
|
Active | Unassigned | |
6.
|
C# | RSPEC-3396 |
|
Active | Unassigned | |
7.
|
JavaScript | RSPEC-3979 |
|
Active | Unassigned | |
8.
|
PL/SQL | RSPEC-4253 |
|
Active | Unassigned | |
9.
|
Python | RSPEC-4404 |
|
Active | Unassigned | |
10.
|
Go | RSPEC-4571 |
|
Active | Unassigned |