Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.94ms] Passed 4 tests
This is a short check of server-side resources used by Feedoptimise
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 48.17 ▼11.45 |
Dashboard /wp-admin | 3.34 ▲0.03 | 51.37 ▼4.63 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.23 ▼1.61 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 89.94 ▼10.08 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.71 ▼1.37 |
Feedoptimise /wp-admin/options-general.php?page=woocommerce-feedoptimise | 3.23 | 34.14 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Feedoptimise: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲4 | 13.66 ▲0.39 | 5.02 ▲3.13 | 43.27 ▼5.51 |
Dashboard /wp-admin | 2,210 ▲4 | 4.85 ▼0.99 | 107.50 ▼5.13 | 40.94 ▼1.77 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.02 ▲0.03 | 37.97 ▲1.76 | 35.32 ▲2.41 |
Add New Post /wp-admin/post-new.php | 1,547 ▲14 | 18.42 ▼4.73 | 620.03 ▼27.10 | 56.30 ▲2.05 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.18 ▼0.00 | 97.47 ▼1.22 | 40.71 ▼2.79 |
Feedoptimise /wp-admin/options-general.php?page=woocommerce-feedoptimise | 855 | 2.07 | 29.10 | 29.41 |
Uninstaller [IO: ✅] [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
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/feedoptimise/woocommerce-feedoptimise.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: feed-optimise, exporter, woocommerce, feedoptimise, datafeeds
feedoptimise/woocommerce-feedoptimise.php 85% from 13 tests
Analyzing the main PHP file in "Feedoptimise" version 1.1.27
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 299 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("feedoptimise.php" instead of "woocommerce-feedoptimise.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected678 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 215 | 114 | 678 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 129.00 |
▷ Minimum class complexity | 129.00 |
▷ Maximum class complexity | 129.00 |
Average method complexity | 10.14 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 7.14% |
▷ Protected methods | 13 | 92.86% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 12.46KB | 5.01KB | ▼ 59.75% |