Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/wavetech-tts/wavetech.php+126
Undefined offset: 0
Server metrics [RAM: ▼1.82MB] [CPU: ▼185.34ms] Passed 4 tests
This is a short check of server-side resources used by wavetech. - Text-to-speech
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.81 ▼1.02 | 7.24 ▼24.33 |
Dashboard /wp-admin | 1.83 ▼1.23 | 6.49 ▼36.54 |
Posts /wp-admin/edit.php | 1.83 ▼1.28 | 6.70 ▼35.30 |
Add New Post /wp-admin/post-new.php | 1.83 ▼3.60 | 6.12 ▼645.18 |
Media Library /wp-admin/upload.php | 1.83 ▼1.17 | 9.53 ▼22.51 |
Server storage [IO: ▲2.84MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 24 new files
Database: 1 new table, 1 new option
New tables |
---|
wp_wt_posts |
New WordPress options |
---|
my_db_version |
Browser metrics Passed 4 tests
This is an overview of browser requirements for wavetech. - Text-to-speech
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,755 ▲159 | 17.62 ▲2.03 | 14.76 ▲1.29 | 48.13 ▼5.92 |
Dashboard /wp-admin | 3,002 ▲71 | 7.35 ▲1.30 | 140.86 ▼2.99 | 141.69 ▲21.05 |
Posts /wp-admin/edit.php | 2,778 ▲39 | 3.36 ▲0.64 | 66.56 ▲4.86 | 82.75 ▼11.58 |
Add New Post /wp-admin/post-new.php | 2,298 ▲626 | 26.46 ▲7.70 | 389.83 ▲24.77 | 123.93 ▲6.77 |
Media Library /wp-admin/upload.php | 1,867 ▲57 | 6.12 ▲1.11 | 131.13 ▼15.83 | 144.89 ▲26.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/wavetech-tts/wavetech.php+126
Undefined offset: 0
- Zombie WordPress options detected upon uninstall: 1 option
- my_db_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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 items
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/wavetech-tts/templates/front-audio.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/wavetech-tts/templates/meta_box.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wavetech-tts/wavetech.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wavetech-tts/templates/body.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Contributors: Contributors not specified
wavetech-tts/wavetech.php 92% from 13 tests
This is the main PHP file of "wavetech. - Text-to-speech" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wavetech-tts.php" instead of "wavetech.php")
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 detected1,520 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 201 | 95 | 740 |
CSS | 1 | 84 | 11 | 573 |
JavaScript | 4 | 33 | 14 | 154 |
SVG | 11 | 0 | 0 | 53 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin