Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼291.43ms] Passed 4 tests
A check of server-side resources used by WP Voice
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.10 | 56.32 ▲6.15 |
Dashboard /wp-admin | 3.52 ▲0.12 | 46.38 ▲13.42 |
Posts /wp-admin/edit.php | 3.75 ▲0.11 | 40.13 ▲3.55 |
Add New Post /wp-admin/post-new.php | 7.01 ▲0.04 | 98.60 ▼1,174.29 |
Media Library /wp-admin/upload.php | 3.41 ▲0.11 | 28.42 ▼1.12 |
Voice Forms /wp-admin/edit.php?post_type=voicemssg_form_qcwp | 3.45 | 28.81 |
Voice Records /wp-admin/edit.php?post_type=qcvoicemsg_record | 3.46 | 28.88 |
Settings /wp-admin/edit.php?post_type=qcvoicemsg_record&page=qcld_wpvm_vmwpmdp_voicemssg_settings | 3.71 | 27.97 |
Help /wp-admin/edit.php?post_type=qcvoicemsg_record&page=wpvoicemessage_help | 3.43 | 24.85 |
Server storage [IO: ▲7.69MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 2,369 new files
Database: no new tables, 1 new option
New WordPress options |
---|
qcld_wpvm_vmwpmdp_wpvoicemessage_send_action_install |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Voice
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,977 ▲223 | 16.66 ▲1.14 | 8.72 ▲1.98 | 2.01 ▼1.10 |
Dashboard /wp-admin | 2,974 ▲113 | 6.03 ▼0.23 | 115.34 ▼13.50 | 234.78 ▲76.90 |
Posts /wp-admin/edit.php | 2,783 ▲89 | 3.25 ▲0.02 | 68.31 ▲3.99 | 188.23 ▲42.82 |
Add New Post /wp-admin/post-new.php | 1,700 ▲32 | 20.82 ▲2.81 | 430.63 ▲29.01 | 158.84 ▲7.79 |
Media Library /wp-admin/upload.php | 1,776 ▲78 | 5.58 ▲0.03 | 143.75 ▲3.98 | 231.99 ▲41.90 |
Voice Forms /wp-admin/edit.php?post_type=voicemssg_form_qcwp | 1,441 | 3.16 | 58.84 | 124.01 |
Voice Records /wp-admin/edit.php?post_type=qcvoicemsg_record | 1,485 | 3.16 | 58.78 | 139.37 |
Settings /wp-admin/edit.php?post_type=qcvoicemsg_record&page=qcld_wpvm_vmwpmdp_voicemssg_settings | 1,738 | 5.76 | 99.29 | 137.05 |
Help /wp-admin/edit.php?post_type=qcvoicemsg_record&page=wpvoicemessage_help | 1,183 | 2.41 | 55.69 | 135.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/wp-voice/uninstall.php+112
Trying to access array offset on value of type bool
- Zombie WordPress options detected upon uninstall: 1 option
- qcld_wpvm_vmwpmdp_wpvoicemessage_send_action_install
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wp-voice/includes/QuantumCloud/QCvoicemssg/include/help.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wp-voice/includes/QuantumCloud/QCvoicemssg/include/pricing.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-voice/modules/cf7/cf7.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-voice/modules/cf7/cf7-voicemessage-create.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=voicemssg_form_qcwp
- > Network (severe)
wp-content/plugins/wp-voice/js/admin-wpvoicemessage-forms.js?ver=1.0.6 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: voice message, voice, contact form 7, voice mail, cf7
wp-voice/wpvoicemessage.php 85% from 13 tests
"WP Voice" version 1.0.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-voice.php" instead of "wpvoicemessage.php")
- Requires PHP: Required version must match the one declared in readme.txt ("5.6" instead of "5.7")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected59,644 lines of code in 2,292 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 2,246 | 0 | 436 | 29,051 |
JSON | 3 | 0 | 0 | 15,720 |
CSS | 11 | 1,039 | 677 | 9,610 |
PHP | 18 | 2,075 | 2,440 | 3,840 |
JavaScript | 14 | 473 | 815 | 1,423 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 30.07 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 109.00 |
Average method complexity | 2.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 13 | 86.67% |
Methods | 222 | |
▷ Static methods | 36 | 16.22% |
▷ Public methods | 130 | 58.56% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 92 | 41.44% |
Functions | 5 | |
▷ Named functions | 1 | 20.00% |
▷ Anonymous functions | 4 | 80.00% |
Constants | 6 | |
▷ Global constants | 1 | 16.67% |
▷ Class constants | 5 | 83.33% |
▷ Public constants | 5 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
34 PNG files occupy 0.90MB with 0.32MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/pricing-box-icon-03.png.png | 2.23KB | 2.27KB | 0.00% |
images/ss/ss11.png | 51.26KB | 25.91KB | ▼ 49.46% |
images/screenshot-14.png | 30.09KB | 11.17KB | ▼ 62.87% |
images/pricing-box-icon-02.png.png | 2.97KB | 2.96KB | 0.20% |
images/screenshot-8.png | 23.73KB | 8.08KB | ▼ 65.93% |