Skip to content

Latest commit

 

History

History
28 lines (26 loc) · 4.41 KB

checks.md

File metadata and controls

28 lines (26 loc) · 4.41 KB

Back to overview

Available Checks

Check Category Description Documentation
i18n_usage general, plugin_repo Checks for various internationalization best practices. Learn more
code_obfuscation plugin_repo Detects the usage of code obfuscation tools. Learn more
file_type plugin_repo Detects the usage of hidden and compressed files, VCS directories, application files and badly named files. Learn more
plugin_header_fields plugin_repo Checks adherence to the Headers requirements. Learn more
late_escaping security, plugin_repo Checks that all output is escaped before being sent to the browser. Learn more
plugin_updater plugin_repo Prevents altering WordPress update routines or using custom updaters, which are not allowed on WordPress.org. Learn more
plugin_review_phpcs plugin_repo Runs PHP_CodeSniffer to detect certain best practices plugins should follow for submission on WordPress.org. Learn more
direct_db_queries security, plugin_repo Checks the usage of direct database queries, which should be avoided. Learn more
performant_wp_query_params performance Checks for potentially slow database queries when using WP_Query Learn more
enqueued_scripts_in_footer performance Checks whether a loading strategy is explicitly set for JavaScript files, as loading scripts in the footer is usually desired. Learn more
enqueued_resources plugin_repo, performance Checks whether scripts and styles are properly enqueued using the recommended way. Learn more
plugin_readme plugin_repo Checks adherence to the readme.txt requirements. Learn more
localhost plugin_repo Detects the usage of Localhost/127.0.0.1 in the plugin. Learn more
no_unfiltered_uploads plugin_repo Detects disallowed usage of ALLOW_UNFILTERED_UPLOADS. Learn more
trademarks plugin_repo Checks the usage of trademarks or other projects in the plugin slug. Learn more
offloading_files plugin_repo Prevents using remote services that are not necessary. Learn more
image_functions performance Checks whether images are inserted using recommended functions. Learn more
enqueued_scripts_size performance Checks whether the cumulative size of all scripts enqueued on a page exceeds 293 KB. Learn more
enqueued_styles_size performance Checks whether the cumulative size of all stylesheets enqueued on a page exceeds 293 KB. Learn more
enqueued_styles_scope performance Checks whether any stylesheets are loaded on all pages, which is usually not desirable and can lead to performance issues. Learn more
enqueued_scripts_scope performance Checks whether any scripts are loaded on all pages, which is usually not desirable and can lead to performance issues. Learn more
non_blocking_scripts performance Checks whether scripts and styles are enqueued using a recommended loading strategy. Learn more