Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.52MB] [CPU: ▲8.13ms] Passed 4 tests
This is a short check of server-side resources used by Reduce HTTP Requests, Disable Emojis & Disable Embeds, Speedup WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.05 ▲0.58 | 48.17 ▲10.13 |
Dashboard /wp-admin | 3.86 ▲0.55 | 60.64 ▲11.47 |
Posts /wp-admin/edit.php | 3.91 ▲0.55 | 56.53 ▲6.28 |
Add New Post /wp-admin/post-new.php | 6.38 ▲0.49 | 106.58 ▲7.49 |
Media Library /wp-admin/upload.php | 3.72 ▲0.49 | 43.76 ▲8.62 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 27 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
wpperformance_rev3a_combined_google_fonts_requests_number |
wpperformance_rev3a_combined_font_awesome_requests_number |
Browser metrics Passed 4 tests
Reduce HTTP Requests, Disable Emojis & Disable Embeds, Speedup WooCommerce: 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,805 ▲44 | 14.34 ▼0.18 | 2.03 ▲0.17 | 47.47 ▲5.76 |
Dashboard /wp-admin | 2,211 ▲34 | 5.62 ▼0.24 | 92.11 ▲1.56 | 47.87 ▲4.29 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 2.02 ▲0.06 | 39.20 ▲3.92 | 37.24 ▼5.35 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.13 ▲0.31 | 671.21 ▲7.75 | 48.46 ▼12.30 |
Media Library /wp-admin/upload.php | 1,410 ▲7 | 4.15 ▼0.07 | 98.42 ▼3.30 | 47.03 ▲6.80 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- 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
Good news, no errors were detected
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 fix the following
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-disable/lib/class-optimisationio-upgrader-skin.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Optimisationio_Dashboard' not found in wp-content/plugins/wp-disable/views/optimisationio-dashboard.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Upgrader_Skin' not found in wp-content/plugins/wp-disable/lib/class-optimisationio-upgrader-skin.php:5
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/class-wp-upgrader.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-disable/lib/class-optimisationio-upgrader-skin.php on line 3
- > PHP Warning
include_once(ABSPATHwp-admin/includes/class-wp-upgrader.php): failed to open stream: No such file or directory in wp-content/plugins/wp-disable/lib/class-optimisationio-upgrader-skin.php on line 3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #2 (Pingdom Report) image required
- Screenshots: Add descriptions for screenshots #3, #5 in wp-disable/assets to your readme.txt
wp-disable/wpperformance.php 92% from 13 tests
The main PHP script in "Reduce HTTP Requests, Disable Emojis & Disable Embeds, Speedup WooCommerce" version 1.6.1 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-disable.php" instead of "wpperformance.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected4,265 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 581 | 141 | 2,570 |
CSS | 1 | 166 | 26 | 907 |
JavaScript | 4 | 165 | 25 | 788 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.64 |
Average class complexity | 122.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 274.00 |
Average method complexity | 6.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 80.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 118 | |
▷ Static methods | 31 | 26.27% |
▷ Public methods | 90 | 76.27% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 28 | 23.73% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 compressed PNG files occupy 0.01MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon-support.png | 0.76KB | 0.76KB | 0.13% |
images/logo-optimisation-line.png | 0.85KB | 1.07KB | 0.00% |
images/logo-optimisation.png | 3.97KB | 3.99KB | 0.00% |