Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.18ms] Passed 4 tests
An overview of server-side resources used by TechGasp Tweety Master
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.95 ▼6.49 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.04 ▼6.04 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 50.00 ▲2.35 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 88.66 ▼6.54 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 37.75 ▲3.80 |
Add-ons /wp-admin/admin.php?page=tweet-master-admin-addons | 3.28 | 28.52 |
Tweety Master /wp-admin/admin.php?page=tweet-master | 3.25 | 31.83 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_tweet_master_widget_buttons |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for TechGasp Tweety Master
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲91 | 13.23 ▼1.52 | 1.80 ▲0.04 | 41.01 ▼8.83 |
Dashboard /wp-admin | 2,235 ▲47 | 5.86 ▼0.04 | 103.89 ▼13.16 | 77.96 ▲30.49 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.05 ▼0.00 | 38.17 ▲0.91 | 34.18 ▲2.62 |
Add New Post /wp-admin/post-new.php | 1,542 ▲8 | 22.75 ▼0.41 | 748.44 ▲78.90 | 60.80 ▲2.95 |
Media Library /wp-admin/upload.php | 1,414 ▲26 | 4.11 ▼0.11 | 118.34 ▲18.52 | 48.99 ▲3.40 |
Add-ons /wp-admin/admin.php?page=tweet-master-admin-addons | 1,073 | 2.02 | 25.17 | 33.26 |
Tweety Master /wp-admin/admin.php?page=tweet-master | 1,766 | 8.24 | 238.39 | 87.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- widget_tweet_master_widget_buttons
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/tweet-master/includes/tweet-master-admin-addons-table.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/tweet-master/includes/tweet-master-admin-addons.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/tweet-master/tweet-master.php:52
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/tweet-master/includes/tweet-master-admin-table-news.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tweet-master/includes/tweet-master-widget-buttons.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/tweet-master/includes/tweet-master-admin-table-header.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/tweet-master/includes/tweet-master-admin.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=tweet-master
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/admin.php?page=tweet-master
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
- > GET request to /wp-admin/admin.php?page=tweet-master
- > Deprecation (warning) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/yX/r/aHGdUlnkmHl.js?_nc_x=Ij3Wp8lg5Kz 271 Listener added for a synchronous 'DOMSubtreeModified' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
- > GET request to /wp-admin/admin.php?page=tweet-master
- > Console-api (severe) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/yX/r/aHGdUlnkmHl.js?_nc_x=Ij3Wp8lg5Kz 60:573 "ErrorUtils caught an error:\n\nCannot listen to an undefined element. [Caught in: Tried to listen to element of type click]\n\nSubsequent non-fatal errors won't be logged; see https://fburl.com/debugjs."
Optimizations
Plugin configuration 97% 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
Please fix the following attributes:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
tweet-master/tweet-master.php Passed 13 tests
The entry point to "TechGasp Tweety Master" version 5.1.4 is a PHP file that has certain tags in its header comment area
115 characters long description:
With TechGasp Tweety Master plugin you can display your latest tweets, favourite twitter lists and twitter buttons.
Code Analysis Passed 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 detected525 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 26 | 63 | 525 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 3.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 9 | |
▷ Static methods | 2 | 22.22% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
9 PNG files occupy 0.28MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/techgasp-check-yes.png | 22.22KB | 7.59KB | ▼ 65.83% |
images/techgasp-check-no.png | 21.14KB | 7.14KB | ▼ 66.23% |
images/techgasp-admin-addons-support.png | 15.84KB | 14.85KB | ▼ 6.26% |
images/techgasp-admin-addons-widgets.png | 17.08KB | 16.02KB | ▼ 6.22% |
images/techgasp-admin-addons-updater.png | 14.03KB | 13.02KB | ▼ 7.21% |