Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.04ms] Passed 4 tests
Analyzing server-side resources used by Easy Embed Page Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.32 ▼5.77 |
Dashboard /wp-admin | 3.33 ▲0.02 | 53.54 ▼0.92 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.33 ▲1.67 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.46 ▼6.14 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.97 ▲0.68 |
Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
fbplplugin_settings |
can_compress_scripts |
widget_foo_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Embed Page Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲108 | 14.00 ▼0.40 | 37.56 ▲35.81 | 43.33 ▼2.67 |
Dashboard /wp-admin | 2,224 ▲36 | 5.88 ▲1.01 | 105.49 ▼12.20 | 38.85 ▼4.80 |
Posts /wp-admin/edit.php | 2,107 ▲21 | 2.02 ▲0.00 | 40.58 ▲4.81 | 34.05 ▼0.72 |
Add New Post /wp-admin/post-new.php | 1,529 ▲10 | 17.66 ▼5.50 | 640.69 ▼28.07 | 52.11 ▲2.55 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.17 ▼0.11 | 98.81 ▼14.71 | 41.74 ▼5.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- fbplplugin_settings
- widget_foo_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/embed-page-facebook/includes/fbplplugin-class.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/embed-page-facebook/includes/fbplplugin-settings-fields.php:93
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/embed-page-facebook/templates/admin/settings-page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/embed-page-facebook/includes/fbplplugin-menus.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/embed-page-facebook/includes/fbplplugin-styles.php:14
- > 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 issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please a description for screenshot #2 in embed-page-facebook/assets to your readme.txt
embed-page-facebook/embed-page-facebook.php 92% from 13 tests
"Easy Embed Page Widget" version 1.0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected303 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 79 | 91 | 296 |
JavaScript | 1 | 0 | 0 | 7 |
CSS | 2 | 0 | 10 | 0 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin