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.17MB] [CPU: ▼5.66ms] Passed 4 tests
This is a short check of server-side resources used by text-to-speech Ondoku
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.17 | 38.03 ▼5.32 |
Dashboard /wp-admin | 3.52 ▲0.17 | 51.75 ▼1.43 |
Posts /wp-admin/edit.php | 3.63 ▲0.23 | 50.79 ▼7.60 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.17 | 90.18 ▼8.29 |
Media Library /wp-admin/upload.php | 3.44 ▲0.17 | 36.29 ▲0.11 |
Ondoku /wp-admin/options-general.php?page=ondokusan_setting_page | 3.41 | 38.45 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
ondokusan_settings |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by text-to-speech Ondoku
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲40 | 14.69 ▲0.41 | 1.77 ▼0.34 | 40.39 ▼6.02 |
Dashboard /wp-admin | 2,210 ▲30 | 5.58 ▼0.07 | 83.41 ▼2.65 | 45.03 ▲3.11 |
Posts /wp-admin/edit.php | 2,113 ▲10 | 1.95 ▼0.08 | 37.11 ▼6.69 | 36.29 ▼2.28 |
Add New Post /wp-admin/post-new.php | 1,531 ▼4 | 23.24 ▲5.28 | 686.75 ▲55.09 | 69.73 ▼1.90 |
Media Library /wp-admin/upload.php | 1,415 ▲18 | 4.20 ▲0.01 | 97.46 ▼9.94 | 48.62 ▲1.41 |
Ondoku /wp-admin/options-general.php?page=ondokusan_setting_page | 1,410 | 1.85 | 24.97 | 65.51 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- ondokusan_settings
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: speech, text, read, mp3
ondoku/ondokusan.php 77% from 13 tests
"text-to-speech Ondoku" version 1.0.21's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("ondoku.php" instead of "ondokusan.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: The description should be shorter than 140 characters (currently 142 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin1,542 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 110 | 70 | 1,132 |
PO File | 7 | 115 | 129 | 410 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 17.67 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin