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
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼3.59ms] Passed 4 tests
This is a short check of server-side resources used by Voice Widgets
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 37.01 ▼6.70 |
Dashboard /wp-admin | 3.48 ▲0.13 | 50.91 ▼8.85 |
Posts /wp-admin/edit.php | 3.60 ▲0.23 | 54.04 ▲1.93 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 97.57 ▼0.50 |
Media Library /wp-admin/upload.php | 3.41 ▲0.17 | 38.31 ▲1.71 |
All Voice Widgets /wp-admin/edit.php?post_type=wp_voicemsg_record | 3.45 | 39.55 |
Add New /wp-admin/post-new.php?post_type=wp_voicemsg_record | 3.49 | 49.43 |
CF7 Settings /wp-admin/edit.php?post_type=wp_voicemsg_record&page=wp_voicemsg_settings | 3.42 | 35.56 |
Server storage [IO: ▲2.40MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Voice Widgets
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲85 | 14.22 ▼0.49 | 1.45 ▼0.33 | 26.68 ▼16.81 |
Dashboard /wp-admin | 2,237 ▲57 | 5.58 ▼0.02 | 90.74 ▼2.43 | 41.39 ▼4.39 |
Posts /wp-admin/edit.php | 2,139 ▲39 | 1.99 ▲0.03 | 39.78 ▼0.84 | 37.46 ▲0.20 |
Add New Post /wp-admin/post-new.php | 1,559 ▲29 | 22.83 ▼0.12 | 597.21 ▼83.78 | 52.46 ▼1.70 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.14 ▼0.07 | 102.08 ▲7.28 | 49.32 ▲7.87 |
All Voice Widgets /wp-admin/edit.php?post_type=wp_voicemsg_record | 1,161 | 2.47 | 43.94 | 36.00 |
Add New /wp-admin/post-new.php?post_type=wp_voicemsg_record | 2,082 | 3.96 | 79.04 | 101.46 |
CF7 Settings /wp-admin/edit.php?post_type=wp_voicemsg_record&page=wp_voicemsg_settings | 1,099 | 2.45 | 38.65 | 41.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 25% 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 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
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/voice-widgets/templates/help.php
- > /wp-content/plugins/voice-widgets/class-dna88-free-plugin-upgrade-notice.php
- > /wp-content/plugins/voice-widgets/templates/admin/audio_options.php
- > /wp-content/plugins/voice-widgets/templates/settings.php
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/voice-widgets/voice-widgets-cf7.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/voice-widgets/templates/frontend/default.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/voice-widgets/templates/admin/audio_template.php:6
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=wp_voicemsg_record&page=wp_voicemsg_settings
- > Rendering (warning) in unknown
/wp-admin/edit.php?post_type=wp_voicemsg_record&page=wp_voicemsg_settings 209 The specified value "Please wait while proccsing your request." cannot be parsed, or is out of range.
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: voice, wpforms, voice mail, audio, voice message
voice-widgets/voice-widgets.php Passed 13 tests
The principal PHP file in "Voice Widgets" v. 2.9.0 is loaded by WordPress automatically on each request
32 characters long description:
Voice Widgets for WordPress site
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin19,445 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 16,640 |
JavaScript | 4 | 239 | 140 | 839 |
PHP | 8 | 245 | 93 | 818 |
SVG | 1 | 0 | 0 | 685 |
CSS | 5 | 36 | 10 | 463 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 18.67 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 38 | |
▷ Static methods | 1 | 2.63% |
▷ Public methods | 37 | 97.37% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.63% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
8 PNG files occupy 0.30MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
templates/admin/images/default-template.png | 11.48KB | 4.67KB | ▼ 59.35% |
templates/admin/images/wave_animation.png | 47.34KB | 10.87KB | ▼ 77.04% |
templates/admin/images/image_play.png | 35.48KB | 10.12KB | ▼ 71.48% |
assets/images/screenshot-3.png | 45.30KB | 17.88KB | ▼ 60.54% |
templates/admin/images/call_to_action.png | 71.55KB | 18.78KB | ▼ 73.75% |