Showing 262 of 405 total issues
Rule doesn't have all its properties in alphabetical order. Open
Open
.progress-bar, .progress-bar-warning {
- Exclude checks
Using width with padding-left can sometimes make elements larger than you expect. Open
Open
padding-left: 1px;
- Exclude checks
Element (li.grp-danger) is overqualified, just use .grp-danger without element name. Open
Open
.grp-messagelist > li.grp-danger {
- Exclude checks
Use of !important Open
Open
content: none !important;
- Exclude checks
Use of !important Open
Open
display: none !important;
- Exclude checks
Element (div#search) is overqualified, just use #search without element name. Open
Open
aside div#search { width: 200px; }
- Exclude checks
Don't use IDs in selectors. Open
Open
#grp-content { top: 0; }
- Exclude checks
Adjoining classes: .tt-suggestion.tt-cursor Open
Open
.tt-suggestion.tt-cursor {
- Exclude checks
Element (a.disabled) is overqualified, just use .disabled without element name. Open
Open
a.disabled {
- Exclude checks
Don't use IDs in selectors. Open
Open
header#grp-header { position: static; }
- Exclude checks
Don't use IDs in selectors. Open
Open
#properties-accordion .panel-body {
- Exclude checks
Element (a.no-before::before) is overqualified, just use .no-before without element name. Open
Open
.panel-group .panel-title > a.no-before::before {
- Exclude checks
Expected COLON at line 72, col 26. Open
Open
color: #c00; inherit !important;
- Exclude checks
Refactor this function to reduce its Cognitive Complexity from 19 to the 15 allowed. Open
Open
def update(
- Read upRead up
- Exclude checks
Cognitive Complexity is a measure of how hard the control flow of a function is to understand. Functions with high Cognitive Complexity will be difficult to maintain.
See
TODO found Open
Open
// TODO: figure out how to reload above and add the new value to the page
- Exclude checks
BUG found Open
Open
keeping a reference to BUG-ID and trying to reconstruct the URL
- Exclude checks
TODO found Open
Open
// TODO: remove the page reload above and add the new case to the list
- Exclude checks
BUG found Open
Open
- HOT BUG FIXING - #572487
- Exclude checks
TODO found Open
Open
// TODO: remove the page reload above and add the new case to the list
- Exclude checks
Merge this if statement with the enclosing one. Open
Open
if (not os.path.exists(filename)) or (not read_installation_id(filename)):
- Read upRead up
- Exclude checks
Merging collapsible if
statements increases the code's readability.
Noncompliant Code Example
if condition1: if condition2: # ...
Compliant Solution
if condition1 and condition2: # ...