Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/webdesign-ugurcu-dhl-manager/includes/class-wu-dhl-activator.php+30
Non-static method WU_DHL_Activator::jal_install() should not be called statically
Server metrics [RAM: ▲0.09MB] [CPU: ▲0.32ms] Passed 4 tests
Server-side resources used by Webdesign-Ugurcu DHL Manager
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 45.60 ▲3.35 |
Dashboard /wp-admin | 3.38 ▲0.08 | 47.07 ▼4.27 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 47.87 ▼0.22 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 95.32 ▲3.36 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.71 ▲2.43 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 35 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_wu_dhl_labels |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Webdesign-Ugurcu DHL Manager: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,954 ▲183 | 13.59 ▼0.83 | 5.95 ▲3.79 | 34.33 ▼8.35 |
Dashboard /wp-admin | 2,234 ▲46 | 5.86 ▼0.04 | 162.88 ▲49.18 | 49.93 ▲6.30 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 1.99 ▼0.06 | 39.17 ▲2.48 | 40.92 ▲5.71 |
Add New Post /wp-admin/post-new.php | 1,399 ▼115 | 22.82 ▲5.33 | 519.02 ▼87.57 | 174.25 ▲121.05 |
Media Library /wp-admin/upload.php | 1,419 ▲34 | 4.23 ▼0.03 | 102.71 ▼2.78 | 41.64 ▼2.34 |
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
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/webdesign-ugurcu-dhl-manager/admin/partials/wu-dhl-meta-box-side.php:7
- > PHP Notice
Trying to get property 'ID' of non-object in wp-content/plugins/webdesign-ugurcu-dhl-manager/admin/partials/wu-dhl-meta-box-side.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/webdesign-ugurcu-dhl-manager/admin/partials/wu-dhl-index.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/webdesign-ugurcu-dhl-manager/includes/class-wu-dhl-buisness-shipment.php:8
- > PHP Notice
Undefined variable: order in wp-content/plugins/webdesign-ugurcu-dhl-manager/admin/partials/wu-dhl-meta-box-side.php on line 6
- > PHP Notice
Undefined variable: wu_dhl_sendungsnummer in wp-content/plugins/webdesign-ugurcu-dhl-manager/admin/partials/wu-dhl-meta-box-side.php on line 3
- > 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 83% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Donate link: Invalid URI found ("")
- Screenshots: A description for screenshot #3 is required in webdesign-ugurcu-dhl-manager/assets to your readme.txt
webdesign-ugurcu-dhl-manager/wu-dhl.php 77% from 13 tests
"Webdesign-Ugurcu DHL Manager" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/language")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("webdesign-ugurcu-dhl-manager.php" instead of "wu-dhl.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected4,870 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XSD | 2 | 6 | 45 | 3,760 |
PHP | 14 | 144 | 646 | 649 |
XML | 1 | 0 | 4 | 338 |
PO File | 2 | 45 | 43 | 114 |
CSS | 2 | 2 | 8 | 9 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 3.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 2 | 4.55% |
▷ Public methods | 36 | 81.82% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 18.18% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 compressed PNG files occupy 0.03MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/menu_logo.png | 0.89KB | 0.89KB | 0.11% |
admin/images/pdf_symbol.png | 23.49KB | 25.01KB | 0.00% |
admin/images/thumb.png | 4.69KB | 2.79KB | ▼ 40.41% |