Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
UnassignedUnassignedReporter
Fabrice BellingardFabrice BellingardLabels
Default Severity
MinorDefault Quality Profiles
Sonar wayTargeted languages
PHPPythonVB.NetXMLCovered Languages
C#CSSJavaJavaScriptRemediation Function
Constant/IssueConstant Cost
2minAnalysis Scope
Main SourcesTest Sources
Details
Details
Assignee
Unassigned
UnassignedReporter
Fabrice Bellingard
Fabrice BellingardLabels
Default Severity
Minor
Default Quality Profiles
Sonar way
Targeted languages
PHP
Python
VB.Net
XML
Covered Languages
C#
CSS
Java
JavaScript
Remediation Function
Constant/Issue
Constant Cost
2min
Analysis Scope
Main Sources
Test Sources
Sentry
Sentry
Sentry
Created July 10, 2013 at 11:18 AM
Updated September 9, 2021 at 6:10 PM
The imports part of a file should be handled by the Integrated Development Environment (IDE), not manually by the developer.
Unused and useless imports should not occur if that is the case.
Leaving them in reduces the code's readability, since their presence can be confusing.
Noncompliant Code Example