Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▲1.19ms] Passed 4 tests
This is a short check of server-side resources used by WP Twitter Auto Publish
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 43.79 ▲5.26 |
Dashboard /wp-admin | 3.34 ▲0.04 | 43.76 ▼1.05 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.66 ▲1.83 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 81.54 ▼1.28 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.10 ▲7.10 |
Logs /wp-admin/admin.php?page=twitter-auto-publish-log | 3.29 | 31.61 |
About /wp-admin/admin.php?page=twitter-auto-publish-about | 3.62 | 33.98 |
Suggest a Feature /wp-admin/admin.php?page=twitter-auto-publish-suggest-features | 3.31 | 31.04 |
Settings /wp-admin/admin.php?page=twitter-auto-publish-settings | 3.57 | 32.19 |
Server storage [IO: ▲1.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 93 new files
Database: no new tables, 36 new options
New WordPress options |
---|
widget_recent-comments |
xyz_credit_link |
xyz_twap_free_version |
xyz_twap_default_selection_edit |
widget_theysaidso_widget |
xyz_twap_twaccestok_secret |
xyz_twap_xyzscripts_hash_val |
xyz_twap_smapsoln_userid |
xyz_twap_future_to_publish |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WP Twitter Auto Publish
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲106 | 13.34 ▼1.04 | 1.72 ▲0.04 | 41.36 ▼0.31 |
Dashboard /wp-admin | 2,247 ▲62 | 5.85 ▼0.00 | 97.68 ▼4.83 | 82.71 ▲39.64 |
Posts /wp-admin/edit.php | 2,130 ▲38 | 2.04 ▲0.03 | 37.21 ▼2.43 | 33.35 ▼3.04 |
Add New Post /wp-admin/post-new.php | 1,702 ▲160 | 22.44 ▲4.05 | 746.39 ▲127.79 | 54.27 ▼2.09 |
Media Library /wp-admin/upload.php | 1,420 ▲38 | 4.12 ▼0.09 | 95.46 ▼5.45 | 65.61 ▲22.96 |
Logs /wp-admin/admin.php?page=twitter-auto-publish-log | 1,120 | 1.87 | 23.15 | 48.94 |
About /wp-admin/admin.php?page=twitter-auto-publish-about | 2,167 | 1.71 | 25.13 | 47.04 |
Suggest a Feature /wp-admin/admin.php?page=twitter-auto-publish-suggest-features | 1,105 | 1.73 | 24.71 | 44.37 |
Settings /wp-admin/admin.php?page=twitter-auto-publish-settings | 1,675 | 1.84 | 27.61 | 115.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-posts
- theysaidso_admin_options
- xyz_smap_free_enforce_twitter_cards
- xyz_credit_link
- widget_theysaidso_widget
- db_upgraded
- 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
Good news, no errors were detected
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 fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Abraham\\TwitterOAuth\\Config' not found in wp-content/plugins/twitter-auto-publish/vendor/abraham/twitteroauth/src/TwitterOAuth.php:27
- > PHP Fatal error
Uncaught Error: Class 'Abraham\\TwitterOAuth\\SignatureMethod' not found in wp-content/plugins/twitter-auto-publish/vendor/abraham/twitteroauth/src/HmacSha1.php:19
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
twitter-auto-publish/twitter-auto-publish.php 92% from 13 tests
"WP Twitter Auto Publish" version 1.6'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:
- Description: Please don't use more than 140 characters for the plugin description (currently 225 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin11,852 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 791 | 1,253 | 5,531 |
PO File | 9 | 2,115 | 2,232 | 5,531 |
CSS | 1 | 199 | 7 | 616 |
JSON | 1 | 0 | 0 | 151 |
JavaScript | 1 | 4 | 0 | 23 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 15.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 2.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 1 | 6.25% |
▷ Concrete classes | 15 | 93.75% |
▷ Final classes | 0 | 0.00% |
Methods | 137 | |
▷ Static methods | 38 | 27.74% |
▷ Public methods | 109 | 79.56% |
▷ Protected methods | 1 | 0.73% |
▷ Private methods | 27 | 19.71% |
Functions | 40 | |
▷ Named functions | 35 | 87.50% |
▷ Anonymous functions | 5 | 12.50% |
Constants | 7 | |
▷ Global constants | 4 | 57.14% |
▷ Class constants | 3 | 42.86% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
23 PNG files occupy 0.08MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/activate.png | 2.79KB | 1.53KB | ▼ 44.97% |
images/cross.png | 0.75KB | 0.65KB | ▼ 12.83% |
images/support.png | 0.71KB | 0.80KB | 0.00% |
images/pause.png | 6.80KB | 4.51KB | ▼ 33.71% |
images/linkedin.png | 0.87KB | 0.87KB | 0.00% |