Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼10.49ms] Passed 4 tests
Server-side resources used by Export Featured Images
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 33.86 ▼4.58 |
Dashboard /wp-admin | 3.44 ▲0.10 | 43.55 ▼23.55 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 47.27 ▲4.89 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 89.04 ▼17.24 |
Media Library /wp-admin/upload.php | 3.36 ▲0.14 | 33.93 ▲3.40 |
Export Featured Images /wp-admin/tools.php?page=wpefi | 3.33 | 30.29 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
wpefi_settings |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Export Featured Images
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.19 ▼0.86 | 1.90 ▲0.07 | 37.31 ▼7.63 |
Dashboard /wp-admin | 2,210 ▲22 | 5.85 ▼0.04 | 105.11 ▼10.94 | 41.71 ▼10.76 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.05 ▼0.00 | 40.12 ▼1.30 | 34.71 ▼3.18 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 23.21 ▲4.88 | 640.26 ▲32.17 | 67.92 ▲6.96 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.20 ▼0.06 | 102.87 ▲6.90 | 46.44 ▲5.86 |
Export Featured Images /wp-admin/tools.php?page=wpefi | 964 | 2.28 | 32.43 | 38.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- wpefi_settings
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/tools.php?page=wpefi
- > Notice in wp-content/plugins/export-featured-images/admin/WPEFI_Admin_Base.php+217
Undefined index: post
- > GET request to /wp-admin/tools.php?page=wpefi
- > Notice in wp-content/plugins/export-featured-images/admin/WPEFI_Admin_Base.php+217
Undefined index: page
- > GET request to /wp-admin/tools.php?page=wpefi
- > Notice in wp-content/plugins/export-featured-images/admin/WPEFI_Admin_Base.php+217
Undefined index: attachment
- > GET request to /wp-admin/tools.php?page=wpefi
- > Notice in wp-content/plugins/export-featured-images/admin/WPEFI_Admin_Base.php+217
Undefined index: revision
- > GET request to /wp-admin/tools.php?page=wpefi
- > Notice in wp-content/plugins/export-featured-images/admin/WPEFI_Admin_Base.php+217
Undefined index: nav_menu_item
- > GET request to /wp-admin/tools.php?page=wpefi
- > Notice in wp-content/plugins/export-featured-images/admin/WPEFI_Admin_Base.php+217
Undefined index: custom_css
- > GET request to /wp-admin/tools.php?page=wpefi
- > Notice in wp-content/plugins/export-featured-images/admin/WPEFI_Admin_Base.php+217
Undefined index: customize_changeset
- > GET request to /wp-admin/tools.php?page=wpefi
- > Notice in wp-content/plugins/export-featured-images/admin/WPEFI_Admin_Base.php+217
Undefined index: oembed_cache
- > GET request to /wp-admin/tools.php?page=wpefi
- > Notice in wp-content/plugins/export-featured-images/admin/WPEFI_Admin_Base.php+217
Undefined index: user_request
- > GET request to /wp-admin/tools.php?page=wpefi
- > Notice in wp-content/plugins/export-featured-images/admin/WPEFI_Admin_Base.php+217
Undefined index: wp_block
- > GET request to /wp-admin/tools.php?page=wpefi
- > Notice in wp-content/plugins/export-featured-images/admin/WPEFI_Admin_Base.php+217
Undefined index: wp_template
- > GET request to /wp-admin/tools.php?page=wpefi
- > Notice in wp-content/plugins/export-featured-images/admin/WPEFI_Admin_Base.php+217
Undefined index: wp_template_part
- > GET request to /wp-admin/tools.php?page=wpefi
- > Notice in wp-content/plugins/export-featured-images/admin/WPEFI_Admin_Base.php+217
Undefined index: wp_global_styles
- > GET request to /wp-admin/tools.php?page=wpefi
- > Notice in wp-content/plugins/export-featured-images/admin/WPEFI_Admin_Base.php+217
Undefined index: wp_navigation
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/export-featured-images/admin/wp-base/header.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/export-featured-images/admin/wp-base/fields.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/export-featured-images/admin/wp-base/sidebar.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/tools.php?page=wpefi
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'mozilla')" "TypeError: Cannot read properties of undefined (reading 'mozilla')\n at HTMLDocument.\u003Canonymous> (/wp-admin/tools.php?page=wpefi:282:18)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/tools.php?page=wpefi
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of undefined (reading 'mozilla')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: export featured images, export, export featured, featured image, export images
export-featured-images/export-featured-images.php 85% from 13 tests
The main PHP file in "Export Featured Images" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,044 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 318 | 580 | 786 |
JavaScript | 3 | 18 | 10 | 123 |
PO File | 1 | 19 | 22 | 71 |
CSS | 1 | 0 | 0 | 64 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 3.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 7 | 20.59% |
▷ Public methods | 29 | 85.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 14.71% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin