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.34MB] [CPU: ▼0.90ms] Passed 4 tests
This is a short check of server-side resources used by Deliveo plugin for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 38.20 ▲2.48 |
Dashboard /wp-admin | 3.69 ▲0.39 | 45.30 ▼0.98 |
Posts /wp-admin/edit.php | 3.74 ▲0.39 | 45.02 ▼2.16 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.32 | 82.17 ▼2.92 |
Media Library /wp-admin/upload.php | 3.55 ▲0.32 | 37.32 ▲5.74 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 56 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Deliveo plugin for WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.21 ▲0.02 | 1.66 ▼0.21 | 39.55 ▼5.48 |
Dashboard /wp-admin | 2,195 ▲21 | 5.50 ▼0.05 | 81.07 ▼4.83 | 41.10 ▲2.76 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.11 ▲0.12 | 36.49 ▼0.06 | 32.42 ▼3.50 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.25 ▲0.12 | 649.36 ▼27.10 | 49.92 ▼3.19 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.22 ▲0.04 | 92.54 ▼1.22 | 42.12 ▼1.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Requires php: Version format is invalid
- Screenshots: A description for screenshot #1 is required in deliveo/assets to your readme.txt
deliveo/wordpress-mav-it-deliveo.php 92% from 13 tests
The primary PHP file in "Deliveo plugin for WordPress" version 2.3.4 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("deliveo.php" instead of "wordpress-mav-it-deliveo.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin6,102 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 19 | 1,577 | 1,577 | 4,287 |
PHP | 8 | 274 | 70 | 1,494 |
JavaScript | 3 | 22 | 0 | 166 |
CSS | 1 | 26 | 1 | 155 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 20.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 1 | 1.47% |
▷ Public methods | 58 | 85.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 14.71% |
Functions | 10 | |
▷ Named functions | 9 | 90.00% |
▷ Anonymous functions | 1 | 10.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/deliveo-icon.png | 2.10KB | 1.61KB | ▼ 23.45% |
images/deliveo-package-barcode.png | 3.17KB | 2.00KB | ▼ 36.88% |
images/deliveo-signature.png | 2.55KB | 1.31KB | ▼ 48.58% |
images/deliveo-save.png | 1.80KB | 1.66KB | ▼ 7.81% |