Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.53ms] Passed 4 tests
A check of server-side resources used by TechGasp Networking Master
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.31 ▼1.94 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.65 ▲1.10 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 45.20 ▲3.12 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 82.47 ▼12.40 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 37.28 ▲4.11 |
Settings /wp-admin/admin.php?page=facebook-master-admin-settings-wide | 3.29 | 31.97 |
Add-ons /wp-admin/admin.php?page=facebook-master-admin-addons | 3.31 | 30.98 |
FB Master /wp-admin/admin.php?page=facebook-master | 3.26 | 30.97 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 25 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_facebook_master_widget_viral |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_facebook_master_widget_basic |
Browser metrics Passed 4 tests
A check of browser resources used by TechGasp Networking Master
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲95 | 13.26 ▼1.36 | 1.67 ▼0.16 | 38.45 ▼10.54 |
Dashboard /wp-admin | 2,233 ▲42 | 5.79 ▲0.91 | 92.31 ▼9.51 | 92.29 ▲51.94 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 2.03 ▼0.01 | 35.80 ▲2.13 | 33.76 ▲2.15 |
Add New Post /wp-admin/post-new.php | 1,692 ▲173 | 22.47 ▼0.90 | 726.68 ▲51.27 | 49.28 ▼3.74 |
Media Library /wp-admin/upload.php | 1,418 ▲33 | 4.22 ▼0.00 | 99.03 ▼5.74 | 76.30 ▲30.31 |
Settings /wp-admin/admin.php?page=facebook-master-admin-settings-wide | 950 | 2.03 | 26.02 | 28.75 |
Add-ons /wp-admin/admin.php?page=facebook-master-admin-addons | 1,176 | 2.01 | 25.52 | 34.11 |
FB Master /wp-admin/admin.php?page=facebook-master | 1,776 | 8.22 | 200.62 | 86.27 |
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 were found after uninstall: 8 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_facebook_master_widget_viral
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_facebook_master_widget_basic
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 11× 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/facebook-master/includes/facebook-master-widget-basic.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/facebook-master/includes/facebook-master-admin-table-news.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/facebook-master/facebook-master.php:53
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/facebook-master/includes/facebook-master-admin-settings-wide.php:50
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/facebook-master/includes/facebook-master-admin.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/facebook-master/includes/facebook-master-admin-addons.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/facebook-master/includes/facebook-master-admin-table-header.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/facebook-master/includes/facebook-master-admin-settings-wide-table.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/facebook-master/includes/facebook-master-widget-viral.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/facebook-master/includes/facebook-master-admin-settings-wide-table-options.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=facebook-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-master
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
- > GET request to /wp-admin/admin.php?page=facebook-master
- > Deprecation (warning) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/yX/r/aHGdUlnkmHl.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-master
- > Console-api (severe) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/yX/r/aHGdUlnkmHl.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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
facebook-master/facebook-master.php 92% from 13 tests
Analyzing the main PHP file in "TechGasp Networking Master" version 5.1.4
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 145 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 plugin789 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 43 | 84 | 789 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 6.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 3.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 8 | |
▷ Named functions | 8 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
9 PNG files occupy 0.28MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/techgasp-check-no.png | 21.14KB | 7.14KB | ▼ 66.23% |
images/techgasp-admin-addons-shortcodes.png | 21.28KB | 20.24KB | ▼ 4.91% |
images/techgasp-hr.png | 0.94KB | 0.13KB | ▼ 86.60% |
images/techgasp-check-yes.png | 22.22KB | 7.59KB | ▼ 65.83% |
images/techgasp-admin-addons-updater.png | 14.03KB | 13.02KB | ▼ 7.21% |