Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/buffer-my-post/hsb-core.php+62
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
Server metrics [RAM: ▲4.54MB] [CPU: ▼24.47ms] Passed 4 tests
Server-side resources used by WordPress Buffer - HYPESocial. Social Media Auto Post, Social Media Auto Publish and Schedule
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.53 ▲5.07 | 33.78 ▼9.48 |
Dashboard /wp-admin | 8.55 ▲5.24 | 33.21 ▼15.79 |
Posts /wp-admin/edit.php | 8.55 ▲5.19 | 31.23 ▼12.16 |
Add New Post /wp-admin/post-new.php | 8.55 ▲2.66 | 34.93 ▼60.44 |
Media Library /wp-admin/upload.php | 8.55 ▲5.32 | 42.07 ▲7.72 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 8.55 | 35.23 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 8.69 | 31.85 |
Server storage [IO: ▲8.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 212 new files
Database: no new tables, 12 new options
New WordPress options |
---|
fs_accounts |
widget_recent-posts |
widget_recent-comments |
fs_active_plugins |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
fs_debug_mode |
theysaidso_admin_options |
hsb_opt_last_update |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WordPress Buffer - HYPESocial. Social Media Auto Post, Social Media Auto Publish and Schedule
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,868 ▲133 | 13.64 ▼0.73 | 4.32 ▲2.39 | 26.78 ▼16.27 |
Dashboard /wp-admin | 2,274 ▲86 | 4.86 ▼1.05 | 110.75 ▲3.40 | 46.51 ▲9.89 |
Posts /wp-admin/edit.php | 2,165 ▲79 | 2.07 ▲0.06 | 41.22 ▲6.49 | 43.16 ▲9.86 |
Add New Post /wp-admin/post-new.php | 1,562 ▲28 | 23.27 ▲0.27 | 640.58 ▲14.81 | 54.71 ▲7.00 |
Media Library /wp-admin/upload.php | 1,464 ▲76 | 4.28 ▲0.03 | 109.44 ▲3.11 | 53.92 ▲7.61 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 1,084 | 1.77 | 24.03 | 27.96 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 999 | 2.09 | 26.50 | 32.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/buffer-my-post/hsb-core.php+62
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
- This plugin did not uninstall successfully, leaving 10 options in the database
- fs_gdpr
- widget_theysaidso_widget
- fs_active_plugins
- can_compress_scripts
- db_upgraded
- fs_accounts
- fs_debug_mode
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=tgmpa-install-plugins
- > Deprecated in wp-content/plugins/buffer-my-post/hsb-core.php+62
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
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
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/buffer-my-post/includes/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/buffer-my-post/hsb-sidebar.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Too many tags (56 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6, #7 in buffer-my-post/assets to your readme.txt
buffer-my-post/buffer-my-post.php 92% from 13 tests
The main PHP script in "WordPress Buffer - HYPESocial. Social Media Auto Post, Social Media Auto Publish and Schedule" version 2020.1.0 is automatically included on every request by WordPress
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 174 characters long)
Code Analysis 97% from 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
Good job! No executable or dangerous file extensions detected42,517 lines of code in 149 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 117 | 8,064 | 17,943 | 33,943 |
JavaScript | 11 | 1,744 | 1,418 | 7,112 |
CSS | 15 | 122 | 75 | 973 |
Markdown | 1 | 68 | 0 | 214 |
HTML | 1 | 16 | 18 | 183 |
SVG | 2 | 0 | 0 | 54 |
JSON | 2 | 0 | 0 | 38 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please tend to the following items
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 2,910)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 80.79 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,910.00 |
Average method complexity | 4.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 57 | |
▷ Abstract classes | 2 | 3.51% |
▷ Concrete classes | 55 | 96.49% |
▷ Final classes | 0 | 0.00% |
Methods | 1,267 | |
▷ Static methods | 178 | 14.05% |
▷ Public methods | 904 | 71.35% |
▷ Protected methods | 38 | 3.00% |
▷ Private methods | 325 | 25.65% |
Functions | 119 | |
▷ Named functions | 119 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 147 | |
▷ Global constants | 119 | 80.95% |
▷ Class constants | 28 | 19.05% |
▷ Public constants | 28 | 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
16 PNG files occupy 0.14MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/HypeSocialBufferPRO-logo-orange.png | 18.82KB | 7.90KB | ▼ 58.00% |
images/banner-pro_255.png | 23.94KB | 11.65KB | ▼ 51.34% |
documentation/assets/css/img/info.png | 0.67KB | 0.70KB | 0.00% |
images/icons/facebook.png | 1.39KB | 0.50KB | ▼ 64.20% |
documentation/assets/css/img/warning.png | 0.59KB | 0.50KB | ▼ 14.99% |