Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲5.23MB] [CPU: ▲30.88ms] 75% from 4 tests
This is a short check of server-side resources used by Disable Bloat for WordPress & WooCommerce
It is recommended to improve the following
- Extra RAM: Extra memory usage must be kept under 5MB (currently 5.23MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.94 ▲5.48 | 75.25 ▲27.01 |
Dashboard /wp-admin | 8.96 ▲5.66 | 89.27 ▲33.70 |
Posts /wp-admin/edit.php | 8.96 ▲5.60 | 83.18 ▲29.07 |
Add New Post /wp-admin/post-new.php | 10.06 ▲4.17 | 129.47 ▲33.72 |
Media Library /wp-admin/upload.php | 8.96 ▲5.73 | 83.81 ▲47.39 |
Contact Us /wp-admin/admin.php?page=disable-dashboard-for-woocommerce-contact | 8.96 | 76.60 |
Disable Bloat /wp-admin/options-general.php?page=disable-bloat | 8.96 | 68.80 |
Upgrade ➤ /wp-admin/admin.php?page=disable-dashboard-for-woocommerce-pricing | 8.96 | 82.63 |
Support Forum /wp-admin/admin.php?page=disable-dashboard-for-woocommerce-wp-support-forum | 8.96 | 67.43 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 8.96 | 71.83 |
Server storage [IO: ▲3.31MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 196 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
fs_accounts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
fs_active_plugins |
widget_recent-posts |
fs_debug_mode |
Browser metrics Passed 4 tests
An overview of browser requirements for Disable Bloat for WordPress & WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲37 | 14.26 ▼0.09 | 1.68 ▼0.11 | 40.44 ▼5.50 |
Dashboard /wp-admin | 2,201 ▲24 | 5.67 ▲0.15 | 90.22 ▼11.61 | 43.12 ▲0.08 |
Posts /wp-admin/edit.php | 2,109 ▲6 | 1.99 ▼0.03 | 34.97 ▼2.27 | 32.50 ▼3.69 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.43 ▲0.64 | 701.31 ▲34.17 | 51.84 ▼8.51 |
Media Library /wp-admin/upload.php | 1,406 ▲3 | 4.23 ▲0.01 | 107.27 ▲1.93 | 47.73 ▲0.65 |
Contact Us /wp-admin/admin.php?page=disable-dashboard-for-woocommerce-contact | 1,328 | 2.48 | 44.98 | 49.86 |
Disable Bloat /wp-admin/options-general.php?page=disable-bloat | 1,394 | 1.74 | 28.22 | 52.06 |
Upgrade ➤ /wp-admin/admin.php?page=disable-dashboard-for-woocommerce-pricing | 2,021 | 2.79 | 50.69 | 201.80 |
Support Forum /wp-admin/admin.php?page=disable-dashboard-for-woocommerce-wp-support-forum | 2,846 | 3.95 | 80.49 | 73.51 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 1,076 | 1.66 | 24.13 | 27.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/disable-dashboard-for-woocommerce/includes/freemius/includes/class-freemius.php+8515
Undefined property: stdClass::$plugins
- Zombie WordPress options were found after uninstall: 9 options
- widget_recent-comments
- fs_debug_mode
- can_compress_scripts
- fs_active_plugins
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- fs_accounts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: A description for screenshot #8 is missing in disable-dashboard-for-woocommerce/assets to your readme.txt
disable-dashboard-for-woocommerce/disable-dashboard-for-woocommerce.php 92% from 13 tests
"Disable Bloat for WordPress & WooCommerce" version 3.4.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("5.0" instead of "4.5")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected36,673 lines of code in 150 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 130 | 8,392 | 17,620 | 36,343 |
JavaScript | 5 | 48 | 64 | 241 |
CSS | 14 | 12 | 0 | 73 |
XML | 1 | 3 | 0 | 16 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
It is recommended to fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,088)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 93.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,088.00 |
Average method complexity | 4.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 48 | |
▷ Abstract classes | 2 | 4.17% |
▷ Concrete classes | 46 | 95.83% |
▷ Final classes | 0 | 0.00% |
Methods | 1,259 | |
▷ Static methods | 198 | 15.73% |
▷ Public methods | 869 | 69.02% |
▷ Protected methods | 17 | 1.35% |
▷ Private methods | 373 | 29.63% |
Functions | 269 | |
▷ Named functions | 263 | 97.77% |
▷ Anonymous functions | 6 | 2.23% |
Constants | 146 | |
▷ Global constants | 99 | 67.81% |
▷ Class constants | 47 | 32.19% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
includes/freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
assets/img/disable-dashboard-for-woocommerce.png | 2.70KB | 2.58KB | ▼ 4.27% |