Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.74MB] [CPU: ▼0.91ms] Passed 4 tests
A check of server-side resources used by Jigoshop - Store Exporter
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.13 ▲0.67 | 40.97 ▼1.30 |
Dashboard /wp-admin | 4.61 ▲1.31 | 53.11 ▲0.49 |
Posts /wp-admin/edit.php | 4.16 ▲0.80 | 49.71 ▲1.78 |
Add New Post /wp-admin/post-new.php | 6.63 ▲0.74 | 92.51 ▼4.60 |
Media Library /wp-admin/upload.php | 3.97 ▲0.74 | 38.14 ▲5.19 |
Store Export /wp-admin/admin.php?page=jigo_ce | 3.99 | 43.78 |
Server storage [IO: ▲0.38MB] [DB: ▲0.05MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 53 new files
Database: no new tables, 14 new options
New WordPress options |
---|
widget_recent-posts |
jigo_ce_category_separator |
widget_theysaidso_widget |
jigo_ce_date_format |
jigo_ce_bom |
widget_recent-comments |
can_compress_scripts |
jigo_ce_delete_file |
db_upgraded |
jigo_ce_delimiter |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Jigoshop - Store Exporter
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,915 ▲169 | 14.79 ▲0.21 | 1.75 ▼0.06 | 39.44 ▼2.89 |
Dashboard /wp-admin | 2,321 ▲133 | 5.81 ▲0.69 | 97.22 ▼19.14 | 42.80 ▼1.79 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.03 | 33.67 ▼2.21 | 35.37 ▲0.60 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 18.22 ▲0.58 | 619.64 ▼85.46 | 55.61 ▼1.45 |
Media Library /wp-admin/upload.php | 1,393 ▲2 | 4.21 ▲0.01 | 97.79 ▼2.16 | 39.75 ▼5.14 |
Store Export /wp-admin/admin.php?page=jigo_ce | 1,023 | 1.92 | 31.72 | 28.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 14 options
- jigo_ce_bom
- jigo_ce_category_separator
- can_compress_scripts
- jigo_ce_delimiter
- jigo_ce_escape_formatting
- widget_recent-posts
- jigo_ce_encoding
- jigo_ce_delete_file
- widget_recent-comments
- theysaidso_admin_options
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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 fix the following items
- 49× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
include_once(JIGO_CE_PATHincludes/legacy.php): failed to open stream: No such file or directory in wp-content/plugins/jigoshop-exporter/includes/functions.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/jigoshop-exporter/includes/admin.php:101
- > PHP Warning
include_once(JIGO_CE_PATHincludes/order.php): failed to open stream: No such file or directory in wp-content/plugins/jigoshop-exporter/includes/functions.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/jigoshop-exporter/includes/coupon.php:2
- > PHP Warning
include_once(): Failed opening 'JIGO_CE_PATHincludes/formatting.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/jigoshop-exporter/includes/functions.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/jigoshop-exporter/includes/tag.php:2
- > PHP Warning
Use of undefined constant JIGO_CE_PATH - assumed 'JIGO_CE_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/jigoshop-exporter/includes/functions.php on line 15
- > PHP Warning
include_once(JIGO_CE_PATHincludes/customer.php): failed to open stream: No such file or directory in wp-content/plugins/jigoshop-exporter/includes/functions.php on line 6
- > PHP Warning
include_once(): Failed opening 'JIGO_CE_PATHincludes/category.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/jigoshop-exporter/includes/functions.php on line 3
- > PHP Warning
Use of undefined constant JIGO_CE_PATH - assumed 'JIGO_CE_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/jigoshop-exporter/includes/functions.php on line 2
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=jigo_ce
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'msie')" "TypeError: Cannot read properties of undefined (reading 'msie')\n at e.\u003Ccomputed>.chosen (/wp-content/plugins/jigoshop-exporter/js/jquery.chosen.js?ver=6.3.1:283:21)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/jigoshop-exporter/templates/admin/export.js?ver=6.3.1:23:22)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=jigo_ce
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of undefined (reading 'msie')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Tags: There are too many tags (16 tag instead of maximum 10)
jigoshop-exporter/exporter.php 92% from 13 tests
The main PHP file in "Jigoshop - Store Exporter" ver. 1.5.8 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("jigoshop-exporter.php" instead of "exporter.php")
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
There were no executable files found in this plugin7,071 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 955 | 350 | 5,146 |
JavaScript | 3 | 124 | 133 | 1,172 |
CSS | 4 | 46 | 65 | 753 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 145 | |
▷ Named functions | 144 | 99.31% |
▷ Anonymous functions | 1 | 0.69% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
14 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
templates/admin/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
templates/admin/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
templates/admin/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
templates/admin/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
templates/admin/images/ui-icons_888888_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |