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.23MB] [CPU: ▼14.99ms] Passed 4 tests
Server-side resources used by Delyva
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.77 ▼0.69 | 15.28 ▼27.73 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.34 ▼7.12 |
Posts /wp-admin/edit.php | 3.12 ▼0.23 | 29.84 ▼15.61 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.03 ▼9.50 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.87 ▼1.13 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Delyva
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.71 ▼0.89 | 1.57 ▼0.41 | 40.38 ▼3.93 |
Dashboard /wp-admin | 2,203 ▲12 | 4.82 ▼0.06 | 99.73 ▼5.99 | 38.74 ▼4.48 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▲0.01 | 34.10 ▼1.66 | 33.48 ▲1.97 |
Add New Post /wp-admin/post-new.php | 1,534 ▲5 | 23.26 ▲5.20 | 656.35 ▲38.07 | 52.24 ▼6.27 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.17 ▼0.12 | 93.01 ▼7.85 | 38.50 ▼4.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 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 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
Please fix the following items
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/delyva-com/includes/shipping-widget.php
- > /wp-content/plugins/delyva-com/delyva.php
- > /wp-content/plugins/delyva-com/includes/delyva-shipping.php
- > /wp-content/plugins/delyva-com/functions.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
6 plugin tags: next day delivery, delivery, delyva, shipping, same day delivery...
delyva-com/delyva.php 92% from 13 tests
The primary PHP file in "Delyva" version 1.0.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("delyva-com.php" instead of "delyva.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin515 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 56 | 37 | 515 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 15.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 2 | 11.11% |
▷ Public methods | 11 | 61.11% |
▷ Protected methods | 7 | 38.89% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin