Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.26ms] Passed 4 tests
An overview of server-side resources used by API Feed for Google Shopping, Microsoft and Facebook
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.71 ▲0.27 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.30 ▼3.32 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.99 ▼1.47 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.79 ▼0.53 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.55 ▲0.33 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
API Feed for Google Shopping, Microsoft and Facebook: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.55 ▲0.20 | 1.86 ▲0.17 | 43.96 ▲1.92 |
Dashboard /wp-admin | 2,198 ▲21 | 5.62 ▲0.09 | 83.22 ▼4.99 | 34.56 ▼7.67 |
Posts /wp-admin/edit.php | 2,097 ▼0 | 1.97 ▲0.02 | 33.54 ▼2.60 | 35.79 ▲2.13 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 18.31 ▼4.98 | 580.89 ▼70.16 | 63.61 ▲16.60 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.21 ▲0.01 | 93.84 ▼7.75 | 42.94 ▲2.30 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/shopping-feed-for-google/config/const.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_GSF_Exception' not found in wp-content/plugins/shopping-feed-for-google/classes/exceptions/class-wp-gsf-missing-dependencies-exception.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
10 plugin tags: facebook feed, product feed, microsoft feed, microsoft campaign, google shopping feed...
shopping-feed-for-google/shopping-feed-for-google.php 92% from 13 tests
Analyzing the main PHP file in "API Feed for Google Shopping, Microsoft and Facebook" version 2.0
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 155 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin1,112 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 246 | 136 | 1,111 |
JavaScript | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 3.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 1 | 11.11% |
▷ Concrete classes | 8 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 21 | 72.41% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 27.59% |
Functions | 48 | |
▷ Named functions | 47 | 97.92% |
▷ Anonymous functions | 1 | 2.08% |
Constants | 11 | |
▷ Global constants | 9 | 81.82% |
▷ Class constants | 2 | 18.18% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/wp-shopping-feed-for-google.png | 0.78KB | 0.60KB | ▼ 23.09% |