Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.35MB] [CPU: ▲415.84ms] 75% from 4 tests
This is a short check of server-side resources used by Tagembed: Embed Twitter Feed, Google Reviews, YouTube Videos, TikTok, RSS Feed & More Social Media Feeds
It is recommended to improve the following
- Extra CPU: Extra CPU usage should be kept under 200.00ms (currently 415.84ms on /wp-admin/upload.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.32 | 41.89 ▼2.14 |
Dashboard /wp-admin | 3.71 ▲0.40 | 956.41 ▲908.70 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 642.68 ▲593.79 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.34 | 675.25 ▲572.26 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 537.06 ▲499.45 |
Server storage [IO: ▲1.71MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 257 new files
Database: 5 new tables, 6 new options
New tables |
---|
wp_tagembed_active_widget |
wp_tagembed_menus |
wp_tagembed_active_widget_user |
wp_tagembed_user |
wp_tagembed_active_options |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Tagembed: Embed Twitter Feed, Google Reviews, YouTube Videos, TikTok, RSS Feed & More Social Media Feeds
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,038 ▲292 | 13.51 ▼0.43 | 8.85 ▲7.08 | 41.72 ▼6.19 |
Dashboard /wp-admin | 2,332 ▲152 | 5.75 ▲0.09 | 100.77 ▲12.52 | 44.06 ▲1.21 |
Posts /wp-admin/edit.php | 2,236 ▲139 | 2.22 ▲0.24 | 39.39 ▲3.60 | 35.88 ▲1.42 |
Add New Post /wp-admin/post-new.php | 6,241 ▲4,715 | 19.21 ▼3.94 | 892.28 ▲220.81 | 38.63 ▼23.39 |
Media Library /wp-admin/upload.php | 1,600 ▲203 | 4.25 ▲0.13 | 103.87 ▼2.03 | 44.14 ▼3.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/tagembed-widget/views/analytics/analyticsView.php
- > /wp-content/plugins/tagembed-widget/views/widget/widgetView.php
- > /wp-content/plugins/tagembed-widget/views/support/supportView.php
- 92× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
include_once(): Failed opening 'TAGEMBED_PLUGIN_DIR_PATHviews/includes/footerView.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/tagembed-widget/views/widget/widgetView.php on line 61
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/tagembed-widget/views/filter/filterView.php:4
- > PHP Warning
include_once(): Failed opening 'TAGEMBED_PLUGIN_DIR_PATHviews/includes/headerView.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/tagembed-widget/views/socialAccount/socialAccountView.php on line 3
- > PHP Warning
Use of undefined constant TAGEMBED_PLUGIN_DIR_PATH - assumed 'TAGEMBED_PLUGIN_DIR_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/tagembed-widget/views/upgrade/upgradeView.php on line 3
- > PHP Warning
include_once(TAGEMBED_PLUGIN_DIR_PATHviews/includes/headView.php): failed to open stream: No such file or directory in wp-content/plugins/tagembed-widget/views/display/displayView.php on line 2
- > PHP Warning
include_once(): Failed opening 'TAGEMBED_PLUGIN_DIR_PATHviews/includes/headerView.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/tagembed-widget/views/support/supportView.php on line 3
- > PHP Warning
include_once(): Failed opening 'TAGEMBED_PLUGIN_DIR_PATHviews/includes/footerView.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/tagembed-widget/views/analytics/analyticsView.php on line 8
- > PHP Notice
Undefined variable: __tagembed__active_menue_id in wp-content/plugins/tagembed-widget/views/includes/footerView.php on line 24
- > PHP Warning
Use of undefined constant TAGEMBED_PLUGIN_SERVER_URL - assumed 'TAGEMBED_PLUGIN_SERVER_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/tagembed-widget/views/analytics/analyticsView.php on line 6
- > PHP Warning
include_once(TAGEMBED_PLUGIN_DIR_PATHviews/includes/headerView.php): failed to open stream: No such file or directory in wp-content/plugins/tagembed-widget/views/socialAccount/socialAccountView.php on line 3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% 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 need to be fixed:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
tagembed-widget/tagembed.php 85% from 13 tests
"Tagembed: Embed Twitter Feed, Google Reviews, YouTube Videos, TikTok, RSS Feed & More Social Media Feeds" version 4.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("tagembed-widget.php" instead of "tagembed.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 256 characters long)
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
Everything looks great! No dangerous files found in this plugin14,297 lines of code in 75 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 9 | 10 | 8,236 |
JavaScript | 19 | 72 | 292 | 3,346 |
PHP | 16 | 22 | 183 | 2,341 |
SVG | 34 | 0 | 7 | 374 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 40 | |
▷ Named functions | 39 | 97.50% |
▷ Anonymous functions | 1 | 2.50% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ 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
177 compressed PNG files occupy 0.76MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/feeds/75.png | 0.38KB | 0.53KB | 0.00% |
assets/images/feeds/instagram-reel-1.png | 0.25KB | 0.33KB | 0.00% |
assets/images/fonts/12.png | 0.98KB | 1.01KB | 0.00% |
assets/images/rating/1.png | 1.33KB | 0.56KB | ▼ 58.06% |
assets/images/fonts/25.png | 0.97KB | 1.01KB | 0.00% |