Last analyzed f9e3c12 4 months ago
Default analysis branch is
Currently analyzing run

Found unnecessary boolean casts

JS-0012
Bug risk
4 months ago 4 months old
Found in frontend/../CustomerBalancedAdjustments.tsx and frontend/../MetricDetails.tsx
3

Null comparisons without type-checking operators may not work as intended

JS-0059
Bug risk
4 months ago 4 months old
Found in frontend/../ComponentDisplay.tsx and frontend/../PlanComponent.tsx
2

Multiple imports for an import name detected

PYL-W0404
Bug risk
4 months ago 4 months old
Found in backend/metering_billing/__init__.py
1

Consider using identity comparison with singleton

PTC-W0068
Bug risk
4 months ago 4 months old
Found in backend/../billable_metrics.py, backend/../payment_providers.py and 3 other files
12

Dangerous default argument

PYL-W0102
Bug risk
4 months ago 4 months old
Found in backend/../billable_metrics.py and backend/../models.py
25

Consider iterating dictionary

PYL-C0201
Anti-pattern
4 months ago 4 months old
Found in backend/metering_billing/billable_metrics.py
1

if expression used can be simplified

PYL-R1719
Anti-pattern
4 months ago 4 months old
Found in backend/../model_serializers.py
1

Unnecessary generator

PTC-W0015
Anti-pattern
4 months ago 4 months old
Found in backend/../consumer.py and backend/../views.py
3

Bad comparison test

PTC-W0023
Anti-pattern
4 months ago 4 months old
Found in backend/../settings.py, backend/../auth_utils.py and 3 other files
7

Use of an unneeded not detected

PYL-C0113
Anti-pattern
4 months ago 4 months old
Found in backend/metering_billing/invoice.py
1

Consider merging isinstance calls

PYL-R1701
Anti-pattern
4 months ago 4 months old
Found in backend/metering_billing/utils/utils.py
4

Consider removing the commented out code block

PY-W0069
Anti-pattern
4 months ago 4 months old
Found in backend/../settings.py, backend/../__init__.py and 10 other files
30

Appending to dictionary immediately following its definition

PY-W0072
Anti-pattern
4 months ago 4 months old
Found in backend/metering_billing/models.py
1

Imported name is not used anywhere in the module

PY-W2000
Anti-pattern
4 months ago 4 months old
Found in backend/../track_event.py, backend/../__init__.py and 34 other files
99

Consider using in

PYL-R1714
Performance
4 months ago 4 months old
Found in backend/../billable_metrics.py, backend/../payment_providers.py and 1 other file
14

Consider using a set comprehension

PYL-R1718
Performance
4 months ago 4 months old
Found in backend/metering_billing/payment_providers.py
2

Unnecessary use of comprehension

PYL-R1721
Performance
4 months ago 4 months old
Found in backend/../billable_metrics.py and backend/../payment_providers.py
2

Assert statement used outside of tests

BAN-B101
Security
4 months ago 4 months old
Found in backend/../auth_utils.py, backend/../billable_metrics.py and 5 other files
53

Unnecessary else / elif used after return

PYL-R1705
Style
4 months ago 4 months old
Found in backend/../auth_utils.py, backend/../billable_metrics.py and 8 other files
24

Unnecessary else/elif used after raise

PYL-R1720
Style
4 months ago 4 months old
Found in backend/../model_serializers.py
1

Unnecessary elif / else block after continue

PYL-R1724
Style
4 months ago 4 months old
Found in backend/../payment_providers.py and backend/../views.py
2

typeof expressions should be compared against valid strings

JS-0028
Bug risk
4 months ago 4 months old
Found in frontend/../UsageComponentForm.tsx
1

Detected the use of an eval()-like method

JS-0330
Bug risk
4 months ago 4 months old
Found in frontend/../StripeIntegrationView.tsx
1

Missing key for the property

JS-0414
Bug risk
4 months ago 4 months old
Found in frontend/../CustomerIntegrations.tsx, frontend/../CustomerSubscriptionView.tsx and 15 other files
27

import module from line N shadowed by loop variable

FLK-F402
Bug risk
4 months ago 4 months old
Found in backend/metering_billing/views/views.py
1