Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.14MB] [CPU: ▼1.15ms] Passed 4 tests
A check of server-side resources used by WP Plugin Packer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 42.52 ▲4.62 |
Dashboard /wp-admin | 3.51 ▲0.20 | 58.86 ▲11.37 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 55.41 ▲3.54 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 86.54 ▼9.83 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 38.67 ▼2.92 |
WP Plugin Packer /wp-admin/options-general.php?page=wp-plugin-packer | 3.35 | 35.72 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
wp-plugin-packer_missing_plugins |
db_upgraded |
widget_recent-comments |
wp-plugin-packer_plugin_packs |
recovery_mode_email_last_sent |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Plugin Packer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,967 ▲206 | 15.01 ▲0.66 | 1.70 ▼0.02 | 42.10 ▼1.45 |
Dashboard /wp-admin | 2,373 ▲202 | 6.63 ▲1.06 | 126.14 ▲31.88 | 39.45 ▼0.45 |
Posts /wp-admin/edit.php | 2,304 ▲204 | 4.03 ▲2.08 | 60.30 ▲23.30 | 30.97 ▼4.52 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 23.60 ▲0.54 | 633.15 ▼60.64 | 34.31 ▼16.51 |
Media Library /wp-admin/upload.php | 1,433 ▲36 | 4.39 ▲0.26 | 90.36 ▼26.52 | 44.36 ▼0.64 |
WP Plugin Packer /wp-admin/options-general.php?page=wp-plugin-packer | 742 | 1.88 | 19.82 | 26.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 9 options
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- wp-plugin-packer_plugin_packs
- widget_recent-posts
- wp-plugin-packer_missing_plugins
- recovery_mode_email_last_sent
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-plugin-packer
- > Warning in wp-content/plugins/wp-plugin-packer/admin/class-wp-plugin-packer-admin.php+186
Creating default object from empty value
- > GET request to /wp-admin/options-general.php?page=wp-plugin-packer
- > Notice in wp-content/plugins/wp-plugin-packer/admin/class-wp-plugin-packer-admin.php+181
Trying to get property 'slug' of non-object
- > GET request to /wp-admin/options-general.php?page=wp-plugin-packer
- > Error in wp-content/plugins/wp-plugin-packer/admin/class-wp-plugin-packer-admin.php+114
Uncaught Error: Cannot use object of type stdClass as array in wp-content/plugins/wp-plugin-packer/admin/class-wp-plugin-packer-admin.php:114
Stack trace:
#0 wp-admin/includes/template.php(1771): Wp_Plugin_Packer_Admin->plugin_packs_callback()
#1 wp-content/plugins/wp-plugin-packer/admin/partials/wp-plugin-packer-admin-display.php(6): do_settings_sections()
#2 wp-content/plugins/wp-plugin-packer/admin/class-wp-plugin-packer-admin.php(98): require_once('/var/www/wordpr...')
#3 wp-includes/class-wp-hook.php(310): Wp_Plugin_Packer_Admin->handle_admin_display()
#4 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#5 wp-includes/plugin.php(517): WP_Hook->do_action()
#6 wp-admin/admin.php(259): do_action()
#7 wp-admin/options-general.php(10): require_once('/var/www/wordpr...')
#8 {main}
thrown
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-plugin-packer/admin/partials/wp-plugin-packer-admin-display.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=wp-plugin-packer
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1 1:28609 "jQuery.Deferred exception: wp.media is not a function" "TypeError: wp.media is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/wp-plugin-packer/admin/js/wp-plugin-packer-admin.js?ver=1.0.0:88:18)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&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,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/options-general.php?page=wp-plugin-packer
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1 1:28721 Uncaught TypeError: wp.media is not a function
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: plugin group, plugins, packs
wp-plugin-packer/wp-plugin-packer.php Passed 13 tests
The primary PHP file in "WP Plugin Packer" version 1.0.0 is used by WordPress to initiate all plugin functionality
89 characters long description:
Lets you create plugin packs (=groups) to export and import to various WordPress websites
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin757 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 128 | 229 | 511 |
JavaScript | 1 | 25 | 3 | 176 |
CSS | 1 | 10 | 3 | 70 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 13.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 3.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 3 | 8.11% |
▷ Public methods | 33 | 89.19% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 10.81% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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