Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.03ms] Passed 4 tests
Analyzing server-side resources used by TechGasp Comments Master
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.60 ▼1.56 |
Dashboard /wp-admin | 3.33 ▲0.03 | 50.39 ▲1.51 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 47.79 ▲0.65 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 83.99 ▼0.70 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 35.94 ▲2.83 |
Add-ons /wp-admin/admin.php?page=facebook-comments-master-admin-addons | 3.29 | 32.36 |
Comments Master /wp-admin/admin.php?page=facebook-comments-master | 3.26 | 28.01 |
Settings /wp-admin/admin.php?page=facebook-comments-master-admin-settings-wide | 3.31 | 34.34 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 27 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_facebook_comments_master_widget_viral |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_facebook_comments_master_widget_basic |
Browser metrics Passed 4 tests
An overview of browser requirements for TechGasp Comments Master
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲73 | 13.44 ▼0.85 | 1.71 ▼0.49 | 43.24 ▼8.48 |
Dashboard /wp-admin | 2,239 ▲51 | 5.85 ▲0.97 | 100.55 ▼15.66 | 78.90 ▲32.22 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 1.98 ▼0.07 | 36.51 ▼0.53 | 32.98 ▼2.12 |
Add New Post /wp-admin/post-new.php | 1,542 ▲8 | 23.22 ▼0.19 | 724.28 ▲44.20 | 57.01 ▲1.80 |
Media Library /wp-admin/upload.php | 1,418 ▲33 | 4.10 ▼0.14 | 113.30 ▲6.78 | 43.73 ▼3.79 |
Add-ons /wp-admin/admin.php?page=facebook-comments-master-admin-addons | 1,034 | 2.01 | 27.92 | 36.15 |
Comments Master /wp-admin/admin.php?page=facebook-comments-master | 1,774 | 8.27 | 209.29 | 80.55 |
Settings /wp-admin/admin.php?page=facebook-comments-master-admin-settings-wide | 1,010 | 2.06 | 24.14 | 31.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_facebook_comments_master_widget_basic
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_facebook_comments_master_widget_viral
- widget_recent-comments
- theysaidso_admin_options
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 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 12× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/facebook-comments-master/facebook-comments-master.php:53
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/facebook-comments-master/includes/facebook-comments-master-settings-wide.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/facebook-comments-master/includes/facebook-comments-master-widget-basic.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/facebook-comments-master/includes/facebook-comments-master-admin-table-news.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/facebook-comments-master/includes/facebook-comments-master-admin-addons-table.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/facebook-comments-master/includes/facebook-comments-master-admin-settings-wide.php:50
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/facebook-comments-master/includes/facebook-comments-master-admin-settings-wide-table.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/facebook-comments-master/includes/facebook-comments-master-admin-settings-wide-table-options.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/facebook-comments-master/includes/facebook-comments-master-admin-table-header.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/facebook-comments-master/includes/facebook-comments-master-widget-viral.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=facebook-comments-master
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/admin.php?page=facebook-comments-master
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
- > GET request to /wp-admin/admin.php?page=facebook-comments-master
- > Deprecation (warning) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/yx/r/RBH7b7zeA6F.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=facebook-comments-master
- > Console-api (severe) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/yx/r/RBH7b7zeA6F.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
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)
facebook-comments-master/facebook-comments-master.php Passed 13 tests
"TechGasp Comments Master" version 5.1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
113 characters long description:
TechGasp Comments Master is the professional integration of facebook comments into heavy duty wordpress websites.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin833 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 44 | 86 | 830 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 4.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 2 | 13.33% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/techgasp-minilogo-16.png | 1.86KB | 0.92KB | ▼ 50.87% |
images/techgasp-admin-addons-shortcodes.png | 21.28KB | 20.24KB | ▼ 4.91% |
images/techgasp-spammaster-logo.png | 174.42KB | 66.22KB | ▼ 62.04% |
images/techgasp-check-yes.png | 22.22KB | 7.59KB | ▼ 65.83% |
images/techgasp-admin-addons-updater.png | 14.03KB | 13.02KB | ▼ 7.21% |