Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.19ms] Passed 4 tests
An overview of server-side resources used by Embed Extended – Embed Maps, Videos, Websites, Source Codes, and more
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.69 ▲4.72 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.93 ▼1.35 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 43.37 ▼8.03 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 83.41 ▼8.11 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.14 ▲7.08 |
Embed Extended /wp-admin/options-general.php?page=embed-extended | 3.31 | 36.30 |
Server storage [IO: ▲0.22MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Embed Extended – Embed Maps, Videos, Websites, Source Codes, and more
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 14.36 ▲0.01 | 1.80 ▲0.11 | 42.33 ▲4.99 |
Dashboard /wp-admin | 2,227 ▲49 | 5.66 ▼0.03 | 88.16 ▼11.88 | 41.97 ▼2.17 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 2.01 ▲0.02 | 36.88 ▼1.42 | 38.24 ▲3.38 |
Add New Post /wp-admin/post-new.php | 1,563 ▲37 | 22.93 ▼0.19 | 668.34 ▼1.84 | 59.61 ▲6.80 |
Media Library /wp-admin/upload.php | 1,432 ▲29 | 4.28 ▲0.06 | 109.02 ▲11.00 | 47.35 ▲3.95 |
Embed Extended /wp-admin/options-general.php?page=embed-extended | 993 | 1.84 | 29.36 | 38.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
- 16× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/embed-extended/templates/embed-iframe-content.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/embed-extended/templates/admin-settings-auth.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/embed-extended/templates/embed-iframe.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/embed-extended/templates/admin-settings-general.php:7
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/embed-extended/templates/embed-iframe.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/embed-extended/templates/admin-settings-debug.php:1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/embed-extended/templates/admin-settings-general.php on line 3
- > PHP Notice
Undefined variable: data in wp-content/plugins/embed-extended/templates/embed-iframe.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/embed-extended/embed-extended.php:43
- > PHP Notice
Undefined variable: data in wp-content/plugins/embed-extended/templates/admin-settings-auth.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
embed-extended/embed-extended.php 92% from 13 tests
Analyzing the main PHP file in "Embed Extended – Embed Maps, Videos, Websites, Source Codes, and more" version 1.4.0
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 169 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin2,909 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 317 | 683 | 1,426 |
JavaScript | 4 | 17 | 8 | 1,372 |
Sass | 1 | 20 | 5 | 109 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 23.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 3.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 2 | 33.33% |
Methods | 64 | |
▷ Static methods | 3 | 4.69% |
▷ Public methods | 33 | 51.56% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 31 | 48.44% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin