/admin/class-yoast-form.php:357 | 19 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/config/dependency-injection/deprecated-classes.php:60 | 15 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Empty Function
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/config/dependency-injection/renamed-classes.php:34 | 15 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Empty Function
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/admin/class-yoast-form.php:630 | 14 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/inc/options/class-wpseo-taxonomy-meta.php:317 | 13 | - Max Level Of Nesting
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Method Could Be Static
|
/inc/class-wpseo-utils.php:469 | 12 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/inc/options/class-wpseo-option-wpseo.php:642 | 12 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Method Could Be Static
|
/admin/class-database-proxy.php:130 | 11 | - Unused Public Methods
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Hidden Nullable Typehint
|
/config/dependency-injection/deprecated-classes.php:63 | 11 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Empty Function
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/inc/options/class-wpseo-option-social.php:307 | 11 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Method Could Be Static
|
/inc/options/class-wpseo-option-titles.php:749 | 11 | - Max Level Of Nesting
- Too Many Local Variables
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/class-admin-user-profile.php:35 | 10 | - Unused Public Methods
- Method Is Not An If
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/admin/views/paper-collapsible.php:26 | 10 | - Variable Is Not A Condition
- Useless Parenthesis
- Undefined Functions
- Used Once Variables (In Scope)
- Several Instructions On The Same Line
- Undefined Variable
|
/inc/class-wpseo-admin-bar-menu.php:789 | 10 | - Make Global A Property
- Useless Global
- Used Once Variables (In Scope)
- Undefined Variable
- Global Usage
- Could Be A Static Variable
|
/src/generators/schema/person.php:205 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/src/helpers/url-helper.php:204 | 10 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Method Could Be Static
|
/src/integrations/primary-category.php:45 | 10 | - Unused Public Methods
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/capabilities/class-register-capabilities.php:57 | 9 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/admin/metabox/class-metabox.php:234 | 9 | - Relay Function
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Method Could Be Static
- Never Called Parameter
|
/config/dependency-injection/custom-loader.php:77 | 9 | - Unused Public Methods
- Mismatched Default Arguments
- Undefined Classes
- Undefined Interfaces
- Wrong Type With Default
- Hidden Nullable Typehint
|
/inc/sitemaps/class-sitemaps-cache-validator.php:169 | 9 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/inc/wpseo-functions.php:24 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Boolean As Default
- No Class In Global
- Undefined Classes
- Wrong Type With Default
|
/src/commands/cleanup-command.php:79 | 9 | - Unused Public Methods
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/src/commands/index-command.php:171 | 9 | - Unused Public Methods
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/src/content-type-visibility/user-interface/content-type-visibility-dismiss-new-route.php:107 | 9 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/src/content-type-visibility/user-interface/content-type-visibility-dismiss-new-route.php:136 | 9 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/src/deprecated/frontend/frontend.php:111 | 9 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/src/deprecated/frontend/frontend.php:198 | 9 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/src/helpers/meta-helper.php:35 | 9 | - Unused Public Methods
- Ambiguous Static
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/src/helpers/meta-helper.php:51 | 9 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Method Could Be Static
|
/src/helpers/options-helper.php:24 | 9 | - Ambiguous Static
- Relay Function
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Method Could Be Static
- Never Called Parameter
|
/src/helpers/user-helper.php:19 | 9 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/admin/tracking/class-tracking.php:90 | 8 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/inc/class-rewrite.php:47 | 8 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/inc/class-wpseo-utils.php:717 | 8 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/inc/wpseo-functions.php:45 | 8 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/inc/wpseo-functions.php:62 | 8 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/inc/wpseo-functions.php:84 | 8 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/src/helpers/post-helper.php:98 | 8 | - Unused Public Methods
- Ambiguous Static
- Relay Function
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Method Could Be Static
|
/src/helpers/url-helper.php:20 | 8 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Method Could Be Static
|
/src/integrations/third-party/elementor.php:241 | 8 | - Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Method Could Be Static
- Never Called Parameter
|
/src/presenters/rel-prev-presenter.php:38 | 8 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Method Could Be Static
- Different Argument Counts
- Never Called Parameter
|
/src/services/health-check/myyoast-api-request-factory.php:19 | 8 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
|
/admin/class-yoast-network-settings-api.php:32 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
- Property Could Be Local
|
/admin/class-yoast-notification-center.php:27 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
- Property Could Be Local
|
/admin/pages/network.php:18 | 7 | - Wrong Argument Type
- Undefined Functions
- Wrong Type With Call
- Unused Returned Value
- Could Make A Function
- New Object Then Immediate Call
|
/admin/views/class-yoast-feature-toggles.php:28 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Undefined Classes
- Same Name For Property And Method
- Wrong Type With Default
- Unfinished Object
|
/admin/views/class-yoast-integration-toggles.php:25 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Undefined Classes
- Same Name For Property And Method
- Wrong Type With Default
- Unfinished Object
|
/inc/class-wpseo-admin-bar-menu.php:230 | 7 | - Undefined Properties
- Undefined Functions
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
- Use === null
|
/inc/class-yoast-dynamic-rewrites.php:32 | 7 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Undefined Classes
- Same Name For Property And Method
- Wrong Type With Default
- Unfinished Object
|
/inc/options/class-wpseo-option-social.php:272 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
- Never Called Parameter
|
/src/actions/indexing/indexable-post-type-archive-indexation-action.php:79 | 7 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Different Argument Counts
- Missing Some Returntype
|
/src/helpers/date-helper.php:25 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/src/helpers/options-helper.php:36 | 7 | - Unused Public Methods
- Ambiguous Static
- Relay Function
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/src/helpers/sanitization-helper.php:36 | 7 | - Unused Public Methods
- Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/src/integrations/third-party/wpml.php:67 | 7 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/src/surfaces/meta-surface.php:295 | 7 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Method Could Be Static
|
/admin/class-admin-init.php:264 | 6 | - Make Global A Property
- Useless Global
- Used Once Variables (In Scope)
- Undefined Variable
- Global Usage
- Could Be A Static Variable
|
/admin/class-admin-user-profile.php:82 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/admin/class-bulk-editor-list-table.php:97 | 6 | - Ambiguous Visibilities
- Property Used In One Method Only
- Used Once Property
- Undefined Classes
- Unfinished Object
- Mismatch Properties Typehints
|
/admin/menu/class-admin-menu.php:53 | 6 | - Make Global A Property
- Useless Global
- Used Once Variables (In Scope)
- Undefined Variable
- Global Usage
- Could Be A Static Variable
|
/admin/menu/class-base-menu.php:277 | 6 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
- Never Called Parameter
|
/admin/metabox/class-metabox.php:186 | 6 | - Too Many Array Dimensions
- Undefined Functions
- Weak Type With Array
- Indices Are Int Or String
- Could Make A Function
- Could Use self
|
/admin/metabox/class-metabox.php:187 | 6 | - Too Many Array Dimensions
- Undefined Functions
- Weak Type With Array
- Indices Are Int Or String
- Could Make A Function
- Could Use self
|
/admin/metabox/class-metabox.php:192 | 6 | - Too Many Array Dimensions
- Undefined Functions
- Weak Type With Array
- Indices Are Int Or String
- Could Make A Function
- Could Use self
|
/admin/metabox/class-metabox.php:215 | 6 | - Too Many Array Dimensions
- Undefined Functions
- Weak Type With Array
- Indices Are Int Or String
- Could Make A Function
- Could Use self
|
/inc/date-helper.php:58 | 6 | - Unused Public Methods
- Ambiguous Static
- Relay Function
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/inc/options/class-wpseo-option.php:107 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Property Used In One Method Only
- Undefined Classes
- Unfinished Object
- Mismatch Properties Typehints
|
/inc/options/class-wpseo-option.php:485 | 6 | - Unused Public Methods
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/src/actions/importing/aioseo/abstract-aioseo-settings-importing-action.php:202 | 6 | - Check JSON
- Modernize Empty With Expression
- Undefined Functions
- Only Variable Passed By Reference
- Uses Default Values
- Could Make A Function
|
/src/deprecated/frontend/frontend.php:180 | 6 | - Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/src/deprecated/src/integrations/schema-blocks.php:95 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/src/deprecated/src/integrations/third-party/wincher.php:87 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/src/deprecated/src/integrations/third-party/wincher.php:101 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/src/deprecated/src/integrations/third-party/wordproof-integration-toggle.php:135 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/src/helpers/date-helper.php:101 | 6 | - Unused Public Methods
- Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Method Could Be Static
|
/src/helpers/image-helper.php:364 | 6 | - Unused Public Methods
- Ambiguous Static
- Relay Function
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/src/helpers/sanitization-helper.php:21 | 6 | - Unused Public Methods
- Ambiguous Static
- Relay Function
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/src/helpers/taxonomy-helper.php:114 | 6 | - Unused Public Methods
- Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/src/helpers/url-helper.php:245 | 6 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/src/helpers/wordproof-helper.php:66 | 6 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
- Never Called Parameter
|
/src/integrations/admin/activation-cleanup-integration.php:52 | 6 | - Variable Is Not A Condition
- Merge If Then
- Useless Parenthesis
- Bail Out Early
- Undefined Constants
- Preprocessable
|
/src/memoizers/meta-tags-context-memoizer.php:167 | 6 | - Unused Public Methods
- Ambiguous Static
- No Null For Index
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/src/memoizers/presentation-memoizer.php:76 | 6 | - Unused Public Methods
- Ambiguous Static
- No Null For Index
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/wp-seo-main.php:163 | 6 | - Method Is Not An If
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Boolean As Default
- No Class In Global
- Undefined Classes
|