Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.21ms] Passed 4 tests
An overview of server-side resources used by Export Variable Products
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 47.98 ▲7.24 |
Dashboard /wp-admin | 3.32 ▼0.03 | 45.41 ▼12.17 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.91 ▲0.75 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 100.90 ▲2.74 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.22 ▼0.15 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Export Variable Products
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.68 ▼0.68 | 2.03 ▲0.25 | 41.17 ▼1.55 |
Dashboard /wp-admin | 2,209 ▲21 | 4.89 ▼0.16 | 95.28 ▼11.51 | 40.90 ▼3.61 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.04 ▲0.00 | 39.42 ▼0.56 | 37.30 ▲1.69 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 18.48 ▼4.79 | 612.54 ▼66.56 | 48.08 ▼8.49 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.18 ▼0.07 | 100.97 ▼15.41 | 44.26 ▼6.66 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/export-variable-products/inc/admin_settings.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: import, porducts, csv export, export productes
export-variable-products/index.php 85% from 13 tests
The principal PHP file in "Export Variable Products" v. 1.2.5 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("export-variable-products.php" instead of "index.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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 plugin14,768 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 1,213 | 8 | 9,078 |
JavaScript | 2 | 864 | 330 | 3,384 |
PHP | 5 | 486 | 359 | 2,039 |
PO File | 3 | 108 | 108 | 267 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 114.67 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 194.00 |
Average method complexity | 4.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 86 | |
▷ Static methods | 14 | 16.28% |
▷ Public methods | 60 | 69.77% |
▷ Protected methods | 14 | 16.28% |
▷ Private methods | 12 | 13.95% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 1 | 14.29% |
▷ Class constants | 6 | 85.71% |
▷ Public constants | 6 | 100.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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/edit_page.png | 15.12KB | 7.45KB | ▼ 50.71% |
img/woo.png | 5.93KB | 3.17KB | ▼ 46.59% |