Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.19MB] [CPU: ▲0.32ms] Passed 4 tests
Server-side resources used by GSpeech - Text To Speech Audio Solution using Google Translate Technology
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.35 | 48.73 ▲2.97 |
Dashboard /wp-admin | 3.48 ▲0.18 | 52.10 ▲5.04 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 53.16 ▲2.74 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 90.71 ▼8.74 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 41.14 ▲4.31 |
Server storage [IO: ▲2.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 178 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_gspeech_data |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
wpgs_db_processed |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for GSpeech - Text To Speech Audio Solution using Google Translate Technology
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,245 ▲483 | 13.74 ▼0.98 | 29.20 ▲27.60 | 41.59 ▼3.96 |
Dashboard /wp-admin | 2,198 ▲21 | 5.56 ▼0.03 | 85.01 ▼5.62 | 76.40 ▲32.26 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 1.95 ▼0.06 | 35.10 ▼2.43 | 31.86 ▼4.33 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 23.28 ▼0.04 | 739.55 ▲70.34 | 54.73 ▼10.38 |
Media Library /wp-admin/upload.php | 1,415 ▲18 | 4.14 ▼0.08 | 93.57 ▼8.33 | 72.04 ▲28.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 17× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/gspeech/includes/admin-page.php
- > /wp-content/plugins/gspeech/includes/tab_widgets.php
- > /wp-content/plugins/gspeech/includes/scripts.php
- > /wp-content/plugins/gspeech/includes/tab_widget.php
- > /wp-content/plugins/gspeech/includes/tab_audio.php
- > /wp-content/plugins/gspeech/includes/tab_analytics.php
- > /wp-content/plugins/gspeech/includes/tab1.php
- > /wp-content/plugins/gspeech/includes/tab2.php
- > /wp-content/plugins/gspeech/includes/tab_videos.php
- > /wp-content/plugins/gspeech/includes/admin/gs_ajax.php
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined index: q in wp-content/plugins/gspeech/streamer.php on line 8
- > PHP Notice
Undefined index: l in wp-content/plugins/gspeech/streamer.php on line 16
- > PHP Notice
Undefined variable: type in wp-content/plugins/gspeech/streamer.php on line 40
- > PHP Notice
Undefined index: token in wp-content/plugins/gspeech/streamer.php on line 17
- > PHP Notice
Undefined index: tr_tool in wp-content/plugins/gspeech/streamer.php on line 18
- > PHP Notice
Undefined variable: url in wp-content/plugins/gspeech/streamer.php on line 29
- > PHP Notice
Undefined variable: url in wp-content/plugins/gspeech/streamer.php on line 30
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 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
5 plugin tags: text to audio, audio player, accessibility, tts, text to speech
gspeech/gspeech.php 92% from 13 tests
"GSpeech - Text To Speech Audio Solution using Google Translate Technology" version 3.1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 193 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected19,983 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 14 | 2,277 | 417 | 9,925 |
CSS | 8 | 369 | 96 | 5,588 |
PHP | 18 | 485 | 57 | 4,450 |
SVG | 7 | 0 | 0 | 20 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
123 PNG files occupy 0.92MB with 0.58MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/16/speaker21.png | 2.93KB | 0.39KB | ▼ 86.64% |
includes/css/ui-lightness/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
includes/images/32/speaker3.png | 2.11KB | 1.35KB | ▼ 35.99% |
includes/images/16/speaker12.png | 3.29KB | 0.70KB | ▼ 78.73% |
includes/images/16/speaker4.png | 3.41KB | 0.76KB | ▼ 77.77% |