Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼8.54ms] Passed 4 tests
This is a short check of server-side resources used by BOX NOW Delivery
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 38.76 ▼9.10 |
Dashboard /wp-admin | 3.47 ▲0.16 | 49.07 ▼6.37 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 44.35 ▼8.45 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 83.20 ▼10.23 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 37.47 ▲4.59 |
Server storage [IO: ▲11.88MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for BOX NOW Delivery
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲52 | 14.18 ▼0.20 | 1.63 ▼0.46 | 37.48 ▼12.41 |
Dashboard /wp-admin | 2,216 ▲36 | 5.53 ▼0.14 | 91.22 ▼6.30 | 39.13 ▼1.15 |
Posts /wp-admin/edit.php | 2,125 ▲25 | 1.99 ▼0.01 | 41.19 ▲3.24 | 37.07 ▲5.42 |
Add New Post /wp-admin/post-new.php | 1,384 ▼142 | 16.75 ▼6.53 | 593.37 ▼14.29 | 48.46 ▼4.16 |
Media Library /wp-admin/upload.php | 1,421 ▲27 | 4.28 ▲0.12 | 99.62 ▼9.30 | 43.90 ▼3.16 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/box-now-delivery/includes/box-now-delivery-cancel-order.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/box-now-delivery/box-now-delivery.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/box-now-delivery/includes/box-now-delivery-admin-page.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3 in box-now-delivery/assets to your readme.txt
box-now-delivery/box-now-delivery.php Passed 13 tests
"BOX NOW Delivery" version 2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
74 characters long description:
A Wordpress plugin from BOX NOW to integrate your eshop with our services.
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
There were no executable files found in this plugin1,928 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 226 | 190 | 1,306 |
JavaScript | 3 | 86 | 79 | 497 |
CSS | 2 | 21 | 2 | 125 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 72.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 27.27% |
Functions | 40 | |
▷ Named functions | 40 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin