Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.31MB] [CPU: ▼2.52ms] Passed 4 tests
This is a short check of server-side resources used by Order Picking App
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.31 | 38.07 ▼3.07 |
Dashboard /wp-admin | 3.67 ▲0.33 | 50.87 ▼12.51 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 49.02 ▼0.62 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.31 | 98.13 ▲8.82 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 37.98 ▲6.14 |
Server storage [IO: ▲4.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 156 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Order Picking App
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲102 | 14.67 ▲0.42 | 1.84 ▲0.03 | 41.69 ▼3.94 |
Dashboard /wp-admin | 2,221 ▲41 | 5.63 ▲0.02 | 81.01 ▼16.18 | 69.54 ▲27.46 |
Posts /wp-admin/edit.php | 2,126 ▲23 | 1.95 ▼0.06 | 39.17 ▼0.12 | 32.83 ▼2.02 |
Add New Post /wp-admin/post-new.php | 1,561 ▲36 | 22.95 ▼0.47 | 658.76 ▲18.80 | 108.05 ▲55.83 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.19 ▼0.01 | 97.96 ▼0.99 | 70.71 ▲29.92 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- 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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 62× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Picqer\\Barcode\\Types\\TypeEanUpcBase' not found in wp-content/plugins/order-picking-app/vendor/picqer/php-barcode-generator/src/Types/TypeEan8.php:15
- > PHP Warning
require(vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/order-picking-app/vendor/picqer/php-barcode-generator/generate-verified-files.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Picqer\\Barcode\\Types\\TypeEanUpcBase' not found in wp-content/plugins/order-picking-app/vendor/picqer/php-barcode-generator/src/Types/TypeEan13.php:15
- > PHP Fatal error
Uncaught Error: Class 'Picqer\\Barcode\\Types\\TypeCode39' not found in wp-content/plugins/order-picking-app/vendor/picqer/php-barcode-generator/src/Types/TypeCode32.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Picqer\\Barcode\\Types\\TypeInterface' not found in wp-content/plugins/order-picking-app/vendor/picqer/php-barcode-generator/src/Types/TypeITF14.php:10
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/order-picking-app/vendor/picqer/php-barcode-generator/tests/GeneratorTest.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Picqer\\Barcode\\Types\\TypeInterface' not found in wp-content/plugins/order-picking-app/vendor/picqer/php-barcode-generator/src/Types/TypeCode39.php:15
- > PHP Fatal error
Uncaught Error: Interface 'Picqer\\Barcode\\Types\\TypeInterface' not found in wp-content/plugins/order-picking-app/vendor/picqer/php-barcode-generator/src/Types/TypeEanUpcBase.php:21
- > PHP Fatal error
Uncaught Error: Class 'Picqer\\Barcode\\Exceptions\\BarcodeException' not found in wp-content/plugins/order-picking-app/vendor/picqer/php-barcode-generator/src/Exceptions/UnknownTypeException.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Picqer\\Barcode\\Types\\TypeInterface' not found in wp-content/plugins/order-picking-app/vendor/picqer/php-barcode-generator/src/Types/TypePharmacodeTwoCode.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
order-picking-app/orderpickingapp.php 77% from 13 tests
The principal PHP file in "Order Picking App" v. 1.1.3 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("order-picking-app.php" instead of "orderpickingapp.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 472 characters long)
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 plugin51,327 lines of code in 131 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 7,438 | 106 | 42,384 |
PHP | 76 | 1,090 | 930 | 6,099 |
SVG | 38 | 0 | 0 | 2,027 |
Markdown | 3 | 135 | 0 | 298 |
HTML | 4 | 0 | 0 | 194 |
JSON | 2 | 0 | 0 | 137 |
JavaScript | 3 | 20 | 17 | 123 |
YAML | 3 | 14 | 0 | 52 |
XML | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 10.39 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 186.00 |
Average method complexity | 3.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 65 | |
▷ Abstract classes | 2 | 3.08% |
▷ Concrete classes | 63 | 96.92% |
▷ Final classes | 0 | 0.00% |
Methods | 211 | |
▷ Static methods | 20 | 9.48% |
▷ Public methods | 175 | 82.94% |
▷ Protected methods | 24 | 11.37% |
▷ Private methods | 12 | 5.69% |
Functions | 7 | |
▷ Named functions | 5 | 71.43% |
▷ Anonymous functions | 2 | 28.57% |
Constants | 43 | |
▷ Global constants | 2 | 4.65% |
▷ Class constants | 41 | 95.35% |
▷ Public constants | 36 | 87.80% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/orderpickingapp.png | 20.41KB | 6.51KB | ▼ 68.10% |
admin/images/barcode.png | 4.03KB | 2.01KB | ▼ 50.17% |
admin/images/dashicon.png | 3.81KB | 1.33KB | ▼ 65.06% |