Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.21ms] Passed 4 tests
An overview of server-side resources used by Virtuemart to woocoommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 44.36 ▲4.40 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.64 ▲1.42 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.43 ▼7.00 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 87.70 ▼19.60 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.55 ▲0.34 |
Setting /wp-admin/admin.php?page=Migration_settings | 3.23 | 32.44 |
Virtuemart 2 WC /wp-admin/admin.php?page=Migration_options | 3.23 | 31.41 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Virtuemart to woocoommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲30 | 14.17 ▼0.18 | 1.75 ▼0.07 | 47.49 ▲4.60 |
Dashboard /wp-admin | 2,222 ▲42 | 5.62 ▲0.00 | 95.93 ▲4.87 | 43.24 ▲0.50 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.95 ▼0.04 | 37.56 ▲1.35 | 33.34 ▼4.27 |
Add New Post /wp-admin/post-new.php | 1,548 ▲20 | 23.67 ▲0.53 | 648.68 ▼33.69 | 59.19 ▼2.52 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.16 ▼0.03 | 97.56 ▼19.22 | 43.14 ▼4.95 |
Setting /wp-admin/admin.php?page=Migration_settings | 831 | 2.00 | 25.10 | 22.40 |
Virtuemart 2 WC /wp-admin/admin.php?page=Migration_options | 821 | 2.03 | 25.29 | 27.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/woo-virtuemart/define.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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
7 plugin tags: joomla to wordpress, wordpress migration, virtuemart to wc, migration, virtuemart 2 woocommerce...
woo-virtuemart/woo-virtuemart.php Passed 13 tests
The main PHP file in "Virtuemart to woocoommerce" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
107 characters long description:
this plugin imports products, medias, product categories, product attributes from virtuemart to woocommerce
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected345 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 38 | 60 | 345 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 40.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 60.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected