Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼6.10ms] Passed 4 tests
Analyzing server-side resources used by XML for Google Merchant Center
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 38.63 ▼2.66 |
Dashboard /wp-admin | 3.31 ▼0.03 | 50.24 ▼10.41 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.24 ▲4.46 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 86.59 ▼3.17 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.02 ▼8.17 |
Server storage [IO: ▲1.63MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 57 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by XML for Google Merchant Center
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲48 | 14.25 ▲0.02 | 1.72 ▼0.07 | 30.01 ▼14.42 |
Dashboard /wp-admin | 2,197 ▲19 | 5.52 ▼0.19 | 93.19 ▼22.26 | 45.06 ▲1.83 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 1.94 ▼0.05 | 37.61 ▲3.07 | 37.47 ▲2.39 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.39 ▲0.26 | 663.39 ▲40.94 | 58.76 ▲11.09 |
Media Library /wp-admin/upload.php | 1,402 ▼1 | 4.17 ▲0.07 | 101.84 ▲1.09 | 42.95 ▲1.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
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 no errors were found, this is by no means an exhaustive test
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 take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/xml-for-google-merchant-center/classes/system/class-xfgmc-wp-list-table.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/xml-for-google-merchant-center/classes/system/class-xfgmc-settings-feed-wp-list-table.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Screenshot #1 (screenshot-2.png) image not found
xml-for-google-merchant-center/xml-for-google-merchant-center.php Passed 13 tests
The main file in "XML for Google Merchant Center" v. 3.0.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
88 characters long description:
Connect your store to Google Merchant Center and unload products, getting new customers!
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
There were no executable files found in this plugin10,851 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 41 | 962 | 1,892 | 9,402 |
PO File | 1 | 795 | 1,324 | 1,419 |
CSS | 1 | 0 | 0 | 30 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 9.05 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 3.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 78 | |
Classes | 24 | |
▷ Abstract classes | 1 | 4.17% |
▷ Concrete classes | 23 | 95.83% |
▷ Final classes | 7 | 30.43% |
Methods | 289 | |
▷ Static methods | 16 | 5.54% |
▷ Public methods | 219 | 75.78% |
▷ Protected methods | 17 | 5.88% |
▷ Private methods | 53 | 18.34% |
Functions | 65 | |
▷ Named functions | 53 | 81.54% |
▷ Anonymous functions | 12 | 18.46% |
Constants | 21 | |
▷ Global constants | 17 | 80.95% |
▷ Class constants | 4 | 19.05% |
▷ Public constants | 4 | 100.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
2 PNG files occupy 0.20MB with 0.13MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 110.57KB | 42.10KB | ▼ 61.92% |
screenshot-1.png | 97.42KB | 36.47KB | ▼ 62.56% |