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
This plugin's installer ran successfully
Server metrics [RAM: ▲1.09MB] [CPU: ▲1.50ms] Passed 4 tests
This is a short check of server-side resources used by Post to Social Media - WordPress to Hootsuite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.52 ▲1.06 | 43.10 ▼3.56 |
Dashboard /wp-admin | 4.45 ▲1.10 | 53.55 ▼6.40 |
Posts /wp-admin/edit.php | 4.50 ▲1.15 | 57.21 ▲9.22 |
Add New Post /wp-admin/post-new.php | 6.99 ▲1.10 | 102.89 ▲15.88 |
Media Library /wp-admin/upload.php | 4.31 ▲1.08 | 43.02 ▲6.72 |
Settings /wp-admin/admin.php?page=wp-to-hootsuite-settings | 4.31 | 40.98 |
Logs /wp-admin/admin.php?page=wp-to-hootsuite-log | 4.35 | 40.22 |
Upgrade /wp-admin/admin.php?page=wp-to-hootsuite-upgrade | 2.31 | 8.16 |
Server storage [IO: ▲1.12MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 399 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_to_hootsuite_log |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
wp-to-hootsuite-version |
wp-to-hootsuite-pro-log |
wp-to-hootsuite-pro-post |
Browser metrics Passed 4 tests
An overview of browser requirements for Post to Social Media - WordPress to Hootsuite
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲104 | 14.37 ▼0.34 | 1.70 ▲0.02 | 39.28 ▼6.00 |
Dashboard /wp-admin | 2,256 ▲79 | 5.57 ▲0.01 | 93.22 ▼8.25 | 79.76 ▲33.01 |
Posts /wp-admin/edit.php | 2,183 ▲83 | 2.00 ▼0.02 | 39.89 ▲2.40 | 35.09 ▲1.20 |
Add New Post /wp-admin/post-new.php | 1,812 ▲286 | 19.75 ▼3.45 | 717.04 ▼5.46 | 56.67 ▲3.83 |
Media Library /wp-admin/upload.php | 1,476 ▲79 | 4.14 ▼0.04 | 114.59 ▲16.86 | 47.71 ▲4.78 |
Settings /wp-admin/admin.php?page=wp-to-hootsuite-settings | 1,058 | 3.06 | 44.21 | 75.53 |
Logs /wp-admin/admin.php?page=wp-to-hootsuite-log | 1,512 | 1.82 | 27.12 | 30.71 |
Upgrade /wp-admin/admin.php?page=wp-to-hootsuite-upgrade | 3,009 | 12.55 | 399.38 | 167.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_to_hootsuite_log
- The uninstall procedure has failed, leaving 9 options in the database
- theysaidso_admin_options
- wp-to-hootsuite-pro-log
- widget_recent-comments
- widget_recent-posts
- wp-to-hootsuite-pro-post
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- wp-to-hootsuite-version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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 items
- 28× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/wp-to-hootsuite/lib/views/settings-post-actionheader.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wp-to-hootsuite/lib/views/settings-auth.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wp-to-hootsuite/lib/views/settings-post.php:21
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-to-hootsuite/_modules/dashboard/views/footer-upgrade-embedded.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wp-to-hootsuite/_modules/dashboard/views/deactivation-modal.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_To_Social_Pro_API' not found in wp-content/plugins/wp-to-hootsuite/lib/includes/class-wp-to-social-pro-twitter-api.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wp-to-hootsuite/lib/views/settings-post-action.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/wp-to-hootsuite/_modules/dashboard/views/import-export.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wp-to-hootsuite/_modules/dashboard/views/sidebar-upgrade.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/wp-to-hootsuite/lib/views/settings.php:12
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: Please delete some tags, you are using 64 tag instead of maximum 10
wp-to-hootsuite/wp-to-hootsuite.php Passed 13 tests
The main PHP script in "Post to Social Media - WordPress to Hootsuite" version 1.5.4 is automatically included on every request by WordPress
135 characters long description:
Send WordPress Pages, Posts or Custom Post Types to your Hootsuite (hootsuite.com) account for scheduled publishing to social networks.
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 detected15,955 lines of code in 397 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 42 | 1,669 | 2,247 | 6,688 |
PHP | 50 | 2,041 | 5,061 | 6,442 |
Sass | 5 | 236 | 0 | 2,136 |
SVG | 297 | 0 | 2 | 686 |
CSS | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 150.00 |
Average method complexity | 3.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 22 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 280 | |
▷ Static methods | 1 | 0.36% |
▷ Public methods | 214 | 76.43% |
▷ Protected methods | 2 | 0.71% |
▷ Private methods | 64 | 22.86% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected