Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.09ms] Passed 4 tests
An overview of server-side resources used by WP Performance Pack
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.71 ▼3.31 |
Dashboard /wp-admin | 3.33 ▲0.02 | 45.94 ▼2.72 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.75 ▲0.66 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 93.74 ▲1.02 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.96 ▲1.79 |
Performance Pack /wp-admin/options-general.php?page=wppp_options_page | 3.28 | 35.79 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 60 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
wppp_option |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
wppp_version |
Browser metrics Passed 4 tests
WP Performance Pack: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.34 ▼0.01 | 1.67 ▼0.10 | 38.61 ▼3.00 |
Dashboard /wp-admin | 2,199 ▲21 | 5.65 ▼0.08 | 91.77 ▼15.55 | 36.75 ▼3.01 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▲0.04 | 40.03 ▲0.84 | 36.14 ▲0.01 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.18 ▲0.47 | 664.63 ▲36.49 | 68.06 ▲18.82 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.21 ▲0.06 | 102.86 ▲0.75 | 45.93 ▲1.27 |
Performance Pack /wp-admin/options-general.php?page=wppp_options_page | 1,068 | 1.92 | 27.71 | 33.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/wp-performance-pack/uninstall.php+7
scandir(wp-content/wppp): failed to open dir: No such file or directory
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 21× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WPPP_Admin_Renderer' not found in wp-content/plugins/wp-performance-pack/modules/l10n_improvements/class.wppp_l10n_improvements_advanced.php:3
- > PHP Fatal error
Uncaught Error: Class 'WPPP_Admin_Renderer' not found in wp-content/plugins/wp-performance-pack/modules/cdn_support/class.wppp_cdn_support_advanced.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Scripts' not found in wp-content/plugins/wp-performance-pack/modules/l10n_improvements/class.wppp_scripts_override.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_Rewrite' not found in wp-content/plugins/wp-performance-pack/modules/dynamic_images/class.wppp_rewrite.php:3
- > PHP Fatal error
Uncaught Error: Class 'WPPP_Module' not found in wp-content/plugins/wp-performance-pack/modules/dynamic_images/class.wppp_dynamic_images.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_Image_Editor_GD' not found in wp-content/plugins/wp-performance-pack/modules/dynamic_images/class.wp-image-editor-gd-exif.php:10
- > PHP Fatal error
Uncaught Error: Class 'WPPP_Admin_Renderer' not found in wp-content/plugins/wp-performance-pack/modules/dynamic_images/class.wppp_dynamic_images_advanced.php:3
- > PHP Fatal error
Uncaught Error: Class 'WPPP_Module' not found in wp-content/plugins/wp-performance-pack/modules/disable_widgets/class.wppp_disable_widgets.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/wp-performance-pack/wp-performance-pack.php:254
- > PHP Fatal error
Uncaught Error: Class 'WP_Image_Editor_Imagick' not found in wp-content/plugins/wp-performance-pack/modules/dynamic_images/class.wp-image-editor-imagick-exif.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: cdn, disable, gettext, image resizing, performance
wp-performance-pack/wp-performance-pack.php Passed 13 tests
Analyzing the main PHP file in "WP Performance Pack" version 2.5.3
119 characters long description:
Performance optimizations for WordPress. Improve localization performance and image handling, serve images through CDN.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin7,967 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 32 | 1,042 | 1,107 | 6,642 |
CSS | 6 | 84 | 74 | 848 |
JavaScript | 3 | 328 | 97 | 477 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 30.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 4.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 1 | 3.57% |
▷ Concrete classes | 27 | 96.43% |
▷ Final classes | 0 | 0.00% |
Methods | 248 | |
▷ Static methods | 8 | 3.23% |
▷ Public methods | 232 | 93.55% |
▷ Protected methods | 3 | 1.21% |
▷ Private methods | 13 | 5.24% |
Functions | 18 | |
▷ Named functions | 11 | 61.11% |
▷ Anonymous functions | 7 | 38.89% |
Constants | 18 | |
▷ Global constants | 11 | 61.11% |
▷ Class constants | 7 | 38.89% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
15 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
common/css/images/ui-icons_454545_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
admin/img/wppp_logo_62x32.png | 2.36KB | 2.11KB | ▼ 10.60% |
common/css/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |
common/css/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
common/css/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |