Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼297.66ms] Passed 4 tests
An overview of server-side resources used by Talkify Text To Speech
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.18 | 29.86 ▲10.07 |
Dashboard /wp-admin | 3.12 ▲0.07 | 43.96 ▼6.56 |
Posts /wp-admin/edit.php | 3.17 ▲0.07 | 43.70 ▼0.46 |
Add New Post /wp-admin/post-new.php | 5.48 ▲0.06 | 92.97 ▼1,174.45 |
Media Library /wp-admin/upload.php | 3.06 ▲0.06 | 27.08 ▼9.17 |
Server storage [IO: ▲0.17MB] [DB: ▲0.67MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Talkify Text To Speech
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,719 ▲137 | 15.97 ▲0.15 | 9.61 ▲2.37 | 45.74 ▲2.47 |
Dashboard /wp-admin | 2,948 ▲98 | 6.08 ▲0.24 | 133.69 ▼3.47 | 108.89 ▲9.08 |
Posts /wp-admin/edit.php | 2,721 ▲15 | 2.68 ▲0.00 | 69.10 ▼1.53 | 92.02 ▲1.20 |
Add New Post /wp-admin/post-new.php | 1,876 ▲25 | 18.98 ▲1.26 | 376.44 ▲11.73 | 125.25 ▲20.66 |
Media Library /wp-admin/upload.php | 1,787 ▲12 | 5.03 ▲0.02 | 145.89 ▲0.30 | 113.83 ▼2.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.67MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
- 2× 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/talkify-text-to-speech/talkify-tts.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/talkify-text-to-speech/partials/talkify-tts-admin-settings-display.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Tags: Too many tags (56 tag instead of maximum 10); only the first 5 tags are used in your directory listing
talkify-text-to-speech/talkify-tts.php 85% from 13 tests
"Talkify Text To Speech" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("talkify-text-to-speech.php" instead of "talkify-tts.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 141 characters long)
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,773 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 234 | 39 | 1,005 |
JavaScript | 3 | 64 | 1 | 539 |
PHP | 2 | 34 | 9 | 229 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 15 | |
▷ Static methods | 1 | 6.67% |
▷ Public methods | 14 | 93.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 6.67% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin