Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼10.63ms] Passed 4 tests
This is a short check of server-side resources used by GG Woo Feed for WooCommerce Shopping Feed on Google Facebook and Other Channels
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.85 ▼5.27 |
Dashboard /wp-admin | 3.38 ▲0.04 | 50.00 ▼18.02 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 50.41 ▲0.69 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 86.30 ▼19.92 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 44.34 ▲7.07 |
Manage Feeds /wp-admin/admin.php?page=gg-woo-feed-feeds | 3.34 | 36.28 |
Google Status /wp-admin/admin.php?page=gg-woo-feed-google-status | 3.33 | 36.40 |
Google Merchant Sync /wp-admin/admin.php?page=gg-woo-feed-google-sync | 3.27 | 32.86 |
Add New Feed /wp-admin/admin.php?page=gg-woo-feed-add-feed | 3.47 | 35.68 |
System Info /wp-admin/admin.php?page=gg-woo-feed-system | 3.33 | 41.22 |
Settings /wp-admin/admin.php?page=gg-woo-feed-settings | 3.42 | 38.47 |
Server storage [IO: ▲5.27MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 853 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
recovery_mode_email_last_sent |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by GG Woo Feed for WooCommerce Shopping Feed on Google Facebook and Other Channels
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,881 ▲135 | 13.36 ▼1.02 | 2.05 ▲0.18 | 45.32 ▲4.38 |
Dashboard /wp-admin | 2,260 ▲69 | 5.17 ▲0.25 | 110.33 ▲4.40 | 40.78 ▼2.77 |
Posts /wp-admin/edit.php | 2,148 ▲62 | 2.33 ▲0.31 | 39.38 ▲1.61 | 34.91 ▲1.51 |
Add New Post /wp-admin/post-new.php | 1,559 ▲45 | 23.33 ▲5.86 | 679.36 ▼20.51 | 52.77 ▲3.86 |
Media Library /wp-admin/upload.php | 1,445 ▲60 | 4.38 ▲0.15 | 98.15 ▼15.73 | 46.23 ▼3.81 |
Manage Feeds /wp-admin/admin.php?page=gg-woo-feed-feeds | 1,065 | 2.27 | 36.83 | 27.86 |
Google Status /wp-admin/admin.php?page=gg-woo-feed-google-status | 839 | 1.96 | 27.79 | 27.70 |
Google Merchant Sync /wp-admin/admin.php?page=gg-woo-feed-google-sync | 894 | 1.88 | 27.61 | 35.55 |
Add New Feed /wp-admin/admin.php?page=gg-woo-feed-add-feed | 749 | 1.92 | 23.21 | 23.15 |
System Info /wp-admin/admin.php?page=gg-woo-feed-system | 1,070 | 1.88 | 28.30 | 30.03 |
Settings /wp-admin/admin.php?page=gg-woo-feed-settings | 955 | 2.20 | 37.23 | 29.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- recovery_mode_email_last_sent
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=gg-woo-feed-add-feed
- > Error in wp-content/plugins/gg-woo-feed/inc/Core/functions.php+194
Uncaught Error: Call to undefined function wc_get_price_decimal_separator() in wp-content/plugins/gg-woo-feed/inc/Core/functions.php:194
Stack trace:
#0 wp-content/plugins/gg-woo-feed/inc/Admin/view/add-feed.php(16): gg_woo_feed_parse_feed_queries()
#1 wp-content/plugins/gg-woo-feed/inc/Admin/Admin.php(311): require_once('/var/www/wordpr...')
#2 wp-includes/class-wp-hook.php(310): GG_Woo_Feed\Admin\Admin->render_add_new_feed()
#3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#4 wp-includes/plugin.php(517): WP_Hook->do_action()
#5 wp-admin/admin.php(259): do_action()
#6 {main}
thrown
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
Almost there! Just fix the following items
- 484× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Google_Model' not found in wp-content/plugins/gg-woo-feed/vendor/google/apiclient-services/src/Google/Service/ShoppingContent/HolidaysHoliday.php:18
- > PHP Fatal error
Uncaught Error: Class 'Google\\Auth\\CredentialsLoader' not found in wp-content/plugins/gg-woo-feed/vendor/google/auth/src/Credentials/AppIdentityCredentials.php:57
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/gg-woo-feed/vendor/monolog/monolog/src/Monolog/Handler/AbstractSyslogHandler.php:21
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\MailHandler' not found in wp-content/plugins/gg-woo-feed/vendor/monolog/monolog/src/Monolog/Handler/MandrillHandler.php:22
- > PHP Fatal error
Uncaught Error: Class 'Google_Model' not found in wp-content/plugins/gg-woo-feed/vendor/google/apiclient-services/src/Google/Service/ShoppingContent/CustomerReturnReason.php:18
- > PHP Fatal error
Uncaught Error: Class 'Google_Model' not found in wp-content/plugins/gg-woo-feed/vendor/google/apiclient-services/src/Google/Service/ShoppingContent/AccountStatusAccountLevelIssue.php:18
- > PHP Fatal error
Uncaught Error: Class 'Google_Model' not found in wp-content/plugins/gg-woo-feed/vendor/google/apiclient-services/src/Google/Service/ShoppingContent/OrderinvoicesCreateRefundInvoiceResponse.php:18
- > PHP Fatal error
Uncaught Error: Class 'Google_Collection' not found in wp-content/plugins/gg-woo-feed/vendor/google/apiclient-services/src/Google/Service/ShoppingContent/OrderShipment.php:18
- > PHP Fatal error
Uncaught Error: Class 'Google_Model' not found in wp-content/plugins/gg-woo-feed/vendor/google/apiclient-services/src/Google/Service/ShoppingContent/OrderReportTransaction.php:18
- > PHP Fatal error
Uncaught Error: Class 'Google_Model' not found in wp-content/plugins/gg-woo-feed/vendor/google/apiclient-services/src/Google/Service/ShoppingContent/PosInventoryRequest.php:18
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=gg-woo-feed-add-feed
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.3.1 1:28609 "jQuery.Deferred exception: ClipboardJS is not defined" "ReferenceError: ClipboardJS is not defined\n at Object.copyInit (/wp-content/plugins/gg-woo-feed/assets/js/admin.js?ver=1.2.4:103:11)\n at HTMLDocument.init (/wp-content/plugins/gg-woo-feed/assets/js/admin.js?ver=1.2.4:11:29)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=gg-woo-feed-add-feed
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable&ver=6.3.1 1:28721 Uncaught ReferenceError: ClipboardJS is not defined
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6, #7, #8 in gg-woo-feed/assets to your readme.txt
gg-woo-feed/gg-woo-feed.php 92% from 13 tests
Analyzing the main PHP file in "GG Woo Feed for WooCommerce Shopping Feed on Google Facebook and Other Channels" version 1.2.4
It is important to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.9" instead of "4.4")
Code Analysis 97% from 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
No dangerous file extensions were detected88,520 lines of code in 817 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 680 | 11,163 | 37,089 | 69,175 |
JavaScript | 71 | 2,695 | 881 | 10,817 |
Markdown | 40 | 1,830 | 0 | 5,214 |
CSS | 6 | 464 | 119 | 1,925 |
JSON | 14 | 0 | 0 | 1,297 |
YAML | 2 | 6 | 0 | 43 |
SVG | 1 | 0 | 0 | 19 |
XML | 1 | 0 | 0 | 11 |
Dockerfile | 1 | 8 | 0 | 10 |
make | 1 | 4 | 0 | 9 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
These items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 106)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 13.02 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 632.00 |
Average method complexity | 2.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 106.00 |
Code structure | ||
---|---|---|
Namespaces | 52 | |
Interfaces | 34 | |
Traits | 10 | |
Classes | 580 | |
▷ Abstract classes | 14 | 2.41% |
▷ Concrete classes | 566 | 97.59% |
▷ Final classes | 14 | 2.47% |
Methods | 5,137 | |
▷ Static methods | 244 | 4.75% |
▷ Public methods | 4,597 | 89.49% |
▷ Protected methods | 256 | 4.98% |
▷ Private methods | 284 | 5.53% |
Functions | 219 | |
▷ Named functions | 105 | 47.95% |
▷ Anonymous functions | 114 | 52.05% |
Constants | 372 | |
▷ Global constants | 31 | 8.33% |
▷ Class constants | 341 | 91.67% |
▷ Public constants | 322 | 94.43% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected