Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼4.71ms] Passed 4 tests
Server-side resources used by Text To Speech Widget
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.07 ▼5.29 |
Dashboard /wp-admin | 3.31 ▼0.03 | 53.74 ▼10.26 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 50.75 ▲1.17 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 95.80 ▼3.41 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.01 ▲0.14 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_ttsw_widget |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Text To Speech Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.28 ▼1.02 | 2.08 ▲0.06 | 42.67 ▲0.01 |
Dashboard /wp-admin | 2,203 ▲15 | 5.80 ▼0.14 | 97.44 ▼22.85 | 39.00 ▼6.04 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.99 ▲0.00 | 39.50 ▲2.72 | 34.23 ▲2.14 |
Add New Post /wp-admin/post-new.php | 1,514 ▼22 | 17.55 ▼5.56 | 640.48 ▼42.81 | 54.37 ▲0.44 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.21 ▼0.03 | 97.03 ▼14.00 | 42.01 ▼6.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_ttsw_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/text-to-speech-widget/text-to-speech-widget.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: text to speech, male voice, male speech, voice, female speech...
text-to-speech-widget/text-to-speech-widget.php Passed 13 tests
"Text To Speech Widget" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
87 characters long description:
WP Text To Speech Widget converts any text in to speech in selected language and voice.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected157 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 0 | 7 | 85 |
PHP | 1 | 15 | 43 | 60 |
CSS | 1 | 1 | 1 | 12 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin