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.05MB] [CPU: ▼0.63ms] Passed 4 tests
Analyzing server-side resources used by ResponsiveVoice Text To Speech
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 39.38 ▲1.37 |
Dashboard /wp-admin | 3.36 ▲0.05 | 48.09 ▼2.07 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 45.60 ▼0.61 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 92.01 ▼1.20 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.63 ▲1.73 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ResponsiveVoice Text To Speech
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲77 | 14.24 ▼0.04 | 9.50 ▲7.83 | 35.93 ▼10.33 |
Dashboard /wp-admin | 2,197 ▲20 | 5.55 ▲0.01 | 88.56 ▼1.77 | 79.78 ▲39.75 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 1.95 ▼0.00 | 36.15 ▼4.11 | 33.98 ▼4.58 |
Add New Post /wp-admin/post-new.php | 1,550 ▲21 | 25.33 ▲1.97 | 773.46 ▲94.51 | 62.19 ▲12.27 |
Media Library /wp-admin/upload.php | 1,417 ▲14 | 4.18 ▼0.02 | 99.92 ▲1.87 | 62.86 ▲19.70 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/responsivevoice-text-to-speech/responsivevoice-text-to-speech.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsivevoice-text-to-speech/includes/responsivevoice-includes.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsivevoice-text-to-speech/includes/responsivevoice-options.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 73 tag instead of maximum 10
responsivevoice-text-to-speech/responsivevoice-text-to-speech.php Passed 13 tests
The main file in "ResponsiveVoice Text To Speech" v. 1.7.10 serves as a complement to information provided in readme.txt and as the entry point to the plugin
84 characters long description:
An easy to use plugin to integrate ResponsiveVoice Text to Speech into your WP blog.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected372 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 68 | 73 | 308 |
SVG | 1 | 0 | 1 | 47 |
CSS | 2 | 2 | 5 | 17 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 13 | |
▷ Named functions | 13 | 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
5 PNG files occupy 0.16MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 75.11KB | 39.70KB | ▼ 47.14% |
includes/images/responsivevoice-icon-16x16.png | 19.54KB | 0.94KB | ▼ 95.21% |
includes/images/responsivevoice-icon-20x20.png | 3.97KB | 1.23KB | ▼ 69.01% |
includes/images/responsivevoice-icon-192x192.png | 50.89KB | 11.83KB | ▼ 76.75% |
includes/images/responsivevoice-logo-300x58.png | 11.67KB | 5.53KB | ▼ 52.61% |