Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.90MB] [CPU: ▼174.83ms] Passed 4 tests
An overview of server-side resources used by VoyageSMS
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.75 ▼0.09 | 25.25 ▼9.09 |
Dashboard /wp-admin | 2.75 ▼0.31 | 22.94 ▼23.06 |
Posts /wp-admin/edit.php | 2.75 ▼0.37 | 19.38 ▼34.94 |
Add New Post /wp-admin/post-new.php | 2.75 ▼2.69 | 22.38 ▼624.79 |
Media Library /wp-admin/upload.php | 2.75 ▼0.25 | 16.23 ▼16.53 |
Voyage Setting /wp-admin/options-general.php?page=voyage-setting-page | 2.75 | 20.60 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for VoyageSMS
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,700 ▲63 | 16.46 ▲0.88 | 19.19 ▲10.20 | 51.07 ▲3.24 |
Dashboard /wp-admin | 2,972 ▲38 | 5.89 ▼0.03 | 147.24 ▼0.51 | 115.04 ▲6.45 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.71 ▼0.01 | 61.17 ▼2.62 | 81.51 ▼13.15 |
Add New Post /wp-admin/post-new.php | 1,875 ▲192 | 19.17 ▲0.49 | 367.56 ▼20.01 | 112.05 ▲7.04 |
Media Library /wp-admin/upload.php | 1,812 ▲2 | 5.01 ▼0.03 | 157.27 ▲9.00 | 122.94 ▲8.07 |
Voyage Setting /wp-admin/options-general.php?page=voyage-setting-page | 1,032 | 2.09 | 53.12 | 74.71 |
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
- This plugin cannot be uninstalled
- > Warning in wp-includes/class-wp-hook.php+303
call_user_func_array() expects parameter 1 to be a valid callback, function 'voyage_plugin_menu' not found or invalid function name
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=voyage-setting-page
- > Warning in wp-includes/class-wp-hook.php+303
call_user_func_array() expects parameter 1 to be a valid callback, function 'voyage_plugin_menu' not found or invalid function name
- > GET request to /wp-admin/options-general.php?page=voyage-setting-page
- > Notice in wp-content/plugins/voyagesms/voyagesms.php+68
Trying to access array offset on value of type bool
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
Please fix the following
- 1× 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/voyagesms/voyagesms.php:12
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: voyagesms, sms marketing, voyage sms
voyagesms/voyagesms.php Passed 13 tests
"VoyageSMS" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
127 characters long description:
This is a plugin for existing VoyageSMS clients on WooCommerce to add required scripts for modal display and purchase tracking.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected93 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 10 | 12 | 65 |
Markdown | 1 | 14 | 0 | 28 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin