Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.34ms] Passed 4 tests
A check of server-side resources used by Woo Sendle API
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.64 ▼7.02 |
Dashboard /wp-admin | 3.31 ▲0.01 | 42.23 ▼10.33 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.46 ▲1.57 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.25 ▲2.41 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 37.21 ▲4.29 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Woo Sendle API
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.30 ▼1.30 | 1.82 ▼0.08 | 41.10 ▼1.57 |
Dashboard /wp-admin | 2,206 ▲18 | 5.91 ▲0.10 | 106.13 ▼7.90 | 38.01 ▼4.52 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 2.06 ▲0.06 | 38.90 ▼0.46 | 37.69 ▲3.45 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.09 ▲5.35 | 696.51 ▼3.98 | 54.84 ▲4.35 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.19 ▼0.00 | 100.76 ▼4.13 | 46.42 ▲3.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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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
Please fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/woo-sendle-api/includes/class.woosendle.api.php
- > /wp-content/plugins/woo-sendle-api/includes/class.woosendle.settings.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/woo-sendle-api/includes/templates/booking-modal.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: package, freight, parcel, woocommerce, send...
woo-sendle-api/woo-sendle-api.php Passed 13 tests
The principal PHP file in "Woo Sendle API" v. 1.0.4 is loaded by WordPress automatically on each request
52 characters long description:
Woocommerce Sendle API Plugin by oldlabel web design
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Almost there! Just fix the following issues
- Do not distribute dangerous files with your plugin
- .com - Command File in Windows
- ☣ wp-content/plugins/woo-sendle-api/includes/images/feathericons.com
- .com - Command File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 143 | 362 | 846 |
CSS | 1 | 23 | 25 | 184 |
JavaScript | 1 | 39 | 31 | 149 |
Markdown | 1 | 15 | 0 | 40 |
SVG | 10 | 0 | 0 | 10 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 37.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 71.00 |
Average method complexity | 3.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 29 | |
▷ Static methods | 1 | 3.45% |
▷ Public methods | 29 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin