Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼1.78ms] Passed 4 tests
An overview of server-side resources used by Advanced Order Export For WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.69 ▼2.72 |
Dashboard /wp-admin | 3.44 ▲0.14 | 47.61 ▼4.06 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 47.64 ▲2.59 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 84.52 ▼2.91 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 36.66 ▲3.27 |
Server storage [IO: ▲5.98MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 384 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Order Export For WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲45 | 14.68 ▲0.17 | 1.62 ▼0.13 | 43.06 ▼0.72 |
Dashboard /wp-admin | 2,195 ▲21 | 5.60 ▲0.02 | 91.66 ▼9.34 | 40.10 ▼5.45 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.03 ▲0.03 | 34.51 ▼1.02 | 33.42 ▼2.32 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.91 ▼0.24 | 587.85 ▼9.26 | 50.02 ▼11.57 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.23 ▼0.01 | 98.19 ▲1.64 | 41.95 ▲0.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 99× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'PHPEXCEL_ROOTPHPExcel/Shared/trend/bestFitClass.php' (include_path='.:/usr/share/php') in wp-content/plugins/woo-order-export-lite/classes/PHPExcel/Shared/trend/powerBestFitClass.php on line 3
- > PHP Warning
require_once(PHPEXCEL_ROOTPHPExcel/Shared/trend/bestFitClass.php): failed to open stream: No such file or directory in wp-content/plugins/woo-order-export-lite/classes/PHPExcel/Shared/trend/powerBestFitClass.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Writer_Excel2007_WriterPart' not found in wp-content/plugins/woo-order-export-lite/classes/PHPExcel/Writer/Excel2007/RelsVBA.php:28
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Writer_Excel2007_WriterPart' not found in wp-content/plugins/woo-order-export-lite/classes/PHPExcel/Writer/OpenDocument/WriterPart.php:28
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Writer_HTML' not found in wp-content/plugins/woo-order-export-lite/classes/PHPExcel/Writer/PDF/Core.php:28
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Shared_File' not found in wp-content/plugins/woo-order-export-lite/classes/PHPExcel/Shared/ZipArchive.php:4
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Worksheet_Drawing' not found in wp-content/plugins/woo-order-export-lite/classes/PHPExcel/Worksheet/HeaderFooterDrawing.php:28
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Writer_Excel2007_WriterPart' not found in wp-content/plugins/woo-order-export-lite/classes/PHPExcel/Writer/Excel2007/Rels.php:28
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Exception' not found in wp-content/plugins/woo-order-export-lite/classes/PHPExcel/Chart/Exception.php:28
- > PHP Fatal error
Uncaught Error: Class 'PHPExcel_Writer_OpenDocument_WriterPart' not found in wp-content/plugins/woo-order-export-lite/classes/PHPExcel/Writer/OpenDocument/Thumbnails.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Donate link: Invalid url: ""
- Tags: There are too many tags (11 tag instead of maximum 10)
woo-order-export-lite/woo-order-export-lite.php 92% from 13 tests
The main PHP script in "Advanced Order Export For WooCommerce" version 3.4.4 is automatically included on every request by WordPress
Please take the time to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("4.7" instead of "3.0.0")
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected83,934 lines of code in 339 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 270 | 13,411 | 37,597 | 74,727 |
JavaScript | 66 | 2,154 | 585 | 8,348 |
CSS | 3 | 155 | 8 | 859 |
PHP code 0% from 2 tests
Analyzing cyclomatic complexity and code structure
These items need your attention
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 1,019)
- Please reduce cyclomatic complexity of methods to less than 100 (currently 387)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 52.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,019.00 |
Average method complexity | 4.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 387.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 8 | |
Traits | 7 | |
Classes | 245 | |
▷ Abstract classes | 13 | 5.31% |
▷ Concrete classes | 232 | 94.69% |
▷ Final classes | 0 | 0.00% |
Methods | 3,490 | |
▷ Static methods | 785 | 22.49% |
▷ Public methods | 2,736 | 78.40% |
▷ Protected methods | 165 | 4.73% |
▷ Private methods | 589 | 16.88% |
Functions | 61 | |
▷ Named functions | 15 | 24.59% |
▷ Anonymous functions | 46 | 75.41% |
Constants | 868 | |
▷ Global constants | 122 | 14.06% |
▷ Class constants | 746 | 85.94% |
▷ Public constants | 746 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/calendar.png | 0.22KB | 0.23KB | 0.00% |