Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.95ms] Passed 4 tests
Analyzing server-side resources used by PW WooCommerce Let's Export!
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 38.26 ▼2.63 |
Dashboard /wp-admin | 3.39 ▲0.04 | 64.49 ▲5.46 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 43.80 ▼3.50 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 81.50 ▼7.50 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.11 ▲1.82 |
Server storage [IO: ▲1.67MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 155 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_pw_lets_export |
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for PW WooCommerce Let's Export!
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲18 | 14.17 ▼0.39 | 1.76 ▲0.01 | 44.44 ▲3.98 |
Dashboard /wp-admin | 2,192 ▲12 | 5.59 ▼0.08 | 97.55 ▲11.73 | 41.27 ▲0.15 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.03 | 34.73 ▲0.18 | 36.32 ▲0.52 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.98 ▼0.14 | 666.20 ▼0.95 | 66.12 ▲8.69 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.17 ▼0.05 | 95.20 ▼4.18 | 40.44 ▼2.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
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
Even though everything seems fine, this is not 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 take a closer look at the following
- 55× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Box\\Spout\\Writer\\Exception\\WriterException' not found in wp-content/plugins/pw-woocommerce-lets-export/includes/output/spout-2.7.3/src/Spout/Writer/Exception/Border/InvalidStyleException.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Box\\Spout\\Reader\\SheetInterface' not found in wp-content/plugins/pw-woocommerce-lets-export/includes/output/spout-2.7.3/src/Spout/Reader/XLSX/Sheet.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Box\\Spout\\Reader\\IteratorInterface' not found in wp-content/plugins/pw-woocommerce-lets-export/includes/output/spout-2.7.3/src/Spout/Reader/CSV/RowIterator.php:14
- > PHP Fatal error
Uncaught Error: Class 'Box\\Spout\\Reader\\Exception\\ReaderException' not found in wp-content/plugins/pw-woocommerce-lets-export/includes/output/spout-2.7.3/src/Spout/Reader/Exception/SharedStringNotFoundException.php:11
- > PHP Fatal error
Uncaught Error: Class 'Box\\Spout\\Writer\\Exception\\WriterException' not found in wp-content/plugins/pw-woocommerce-lets-export/includes/output/spout-2.7.3/src/Spout/Writer/Exception/WriterAlreadyOpenedException.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Box\\Spout\\Reader\\ReaderInterface' not found in wp-content/plugins/pw-woocommerce-lets-export/includes/output/spout-2.7.3/src/Spout/Reader/AbstractReader.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Box\\Spout\\Reader\\IteratorInterface' not found in wp-content/plugins/pw-woocommerce-lets-export/includes/output/spout-2.7.3/src/Spout/Reader/ODS/SheetIterator.php:17
- > PHP Fatal error
Uncaught Error: Interface 'Box\\Spout\\Reader\\XLSX\\Helper\\SharedStringsCaching\\CachingStrategyInterface' not found in wp-content/plugins/pw-woocommerce-lets-export/includes/output/spout-2.7.3/src/Spout/Reader/XLSX/Helper/SharedStringsCaching/FileBasedStrategy.php:18
- > PHP Fatal error
Uncaught Error: Interface 'Box\\Spout\\Writer\\Common\\Internal\\WorksheetInterface' not found in wp-content/plugins/pw-woocommerce-lets-export/includes/output/spout-2.7.3/src/Spout/Writer/ODS/Internal/Worksheet.php:18
- > PHP Fatal error
Uncaught Error: Class 'Box\\Spout\\Writer\\Common\\Internal\\AbstractWorkbook' not found in wp-content/plugins/pw-woocommerce-lets-export/includes/output/spout-2.7.3/src/Spout/Writer/ODS/Internal/Workbook.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
pw-woocommerce-lets-export/pw-lets-export.php 85% from 13 tests
The main PHP file in "PW WooCommerce Let's Export!" ver. 1.28 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:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.5" instead of "4.0")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("pw-woocommerce-lets-export.php" instead of "pw-lets-export.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected10,880 lines of code in 130 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 122 | 2,176 | 4,923 | 7,631 |
SVG | 1 | 0 | 0 | 2,671 |
CSS | 4 | 78 | 16 | 392 |
JavaScript | 1 | 23 | 3 | 111 |
Markdown | 1 | 24 | 0 | 39 |
JSON | 1 | 1 | 0 | 36 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 6.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 1.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 29 | |
Interfaces | 8 | |
Traits | 2 | |
Classes | 102 | |
▷ Abstract classes | 12 | 11.76% |
▷ Concrete classes | 90 | 88.24% |
▷ Final classes | 2 | 2.22% |
Methods | 692 | |
▷ Static methods | 28 | 4.05% |
▷ Public methods | 450 | 65.03% |
▷ Protected methods | 212 | 30.64% |
▷ Private methods | 30 | 4.34% |
Functions | 6 | |
▷ Named functions | 3 | 50.00% |
▷ Anonymous functions | 3 | 50.00% |
Constants | 175 | |
▷ Global constants | 1 | 0.57% |
▷ Class constants | 174 | 99.43% |
▷ Public constants | 174 | 100.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.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/ui-bg_flat_75_ffffff_40x100.png | 0.20KB | 0.08KB | ▼ 58.17% |
assets/css/images/ui-icons_2e83ff_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
assets/css/images/ui-bg_glass_95_fef1ec_1x400.png | 0.32KB | 0.15KB | ▼ 54.82% |
assets/css/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |
assets/css/images/ui-icons_cd0a0a_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |