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.22MB] [CPU: ▼10.59ms] Passed 4 tests
Analyzing server-side resources used by Ultimate Social Comments - Email Notification & Lazy Load
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.43 | 42.93 ▲0.59 |
Dashboard /wp-admin | 3.82 ▲0.52 | 53.95 ▲4.24 |
Posts /wp-admin/edit.php | 3.87 ▲0.51 | 51.65 ▲2.87 |
Add New Post /wp-admin/post-new.php | 3.60 ▼2.28 | 37.47 ▼50.07 |
Media Library /wp-admin/upload.php | 3.68 ▲0.45 | 39.01 ▲4.96 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 50 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
ufc_plugin_installed_time |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
ufc_plugin_installed_time_donate |
Browser metrics Passed 4 tests
Ultimate Social Comments - Email Notification & Lazy Load: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,934 ▲188 | 13.58 ▼1.04 | 8.83 ▲6.60 | 41.04 ▼4.45 |
Dashboard /wp-admin | 2,241 ▲52 | 4.83 ▼0.06 | 108.46 ▼17.31 | 38.72 ▼5.08 |
Posts /wp-admin/edit.php | 2,124 ▲32 | 2.03 ▲0.04 | 38.41 ▲0.77 | 36.28 ▲3.03 |
Add New Post /wp-admin/post-new.php | 1,548 ▲34 | 23.03 ▲5.55 | 662.61 ▼40.01 | 65.81 ▲10.93 |
Media Library /wp-admin/upload.php | 1,414 ▲23 | 4.20 ▲0.01 | 96.44 ▼5.58 | 43.75 ▼1.97 |
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 were found after uninstall: 7 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- ufc_plugin_installed_time_donate
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 15× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-facebook-comments/admin/donate.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-facebook-comments/admin/settings/tools.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ultimate-facebook-comments/public/templates/comments-template.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-facebook-comments/admin/install.php:12
- > PHP Warning
Use of undefined constant UFC_PLUGIN_VERSION - assumed 'UFC_PLUGIN_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/ultimate-facebook-comments/admin/settings/settings-page.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/ultimate-facebook-comments/public/shortcode.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-facebook-comments/admin/ajax.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-facebook-comments/admin/admin-bar.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ultimate-facebook-comments/admin/loader.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ultimate-facebook-comments/admin/disable-native.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: comments, lazy comments, facebook, pagespeed, facebook comments
ultimate-facebook-comments/ultimate-facebook-comments.php 92% from 13 tests
The main file in "Ultimate Social Comments - Email Notification & Lazy Load" v. 1.4.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 161 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
No dangerous file extensions were detected2,660 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 396 | 321 | 2,068 |
CSS | 4 | 0 | 16 | 404 |
SVG | 1 | 0 | 0 | 99 |
XML | 2 | 14 | 13 | 82 |
JavaScript | 6 | 1 | 1 | 7 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
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 | 102 | |
▷ Named functions | 102 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected