Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.39MB] [CPU: ▼3.76ms] Passed 4 tests
Analyzing server-side resources used by BeyondWords - Text-to-Speech
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.22 ▲0.76 | 41.75 ▼6.17 |
Dashboard /wp-admin | 3.67 ▲0.37 | 45.17 ▼2.24 |
Posts /wp-admin/edit.php | 3.72 ▲0.37 | 50.48 ▲3.88 |
Add New Post /wp-admin/post-new.php | 6.34 ▲0.45 | 92.00 ▼6.74 |
Media Library /wp-admin/upload.php | 3.59 ▲0.36 | 32.46 ▲0.12 |
BeyondWords /wp-admin/options-general.php?page=beyondwords | 3.56 | 34.26 |
Server storage [IO: ▲1.21MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 202 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
beyondwords_player_version |
widget_recent-posts |
widget_theysaidso_widget |
beyondwords_version |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for BeyondWords - Text-to-Speech
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲55 | 14.72 ▲0.37 | 1.64 ▼0.27 | 41.23 ▼2.90 |
Dashboard /wp-admin | 2,222 ▲48 | 5.60 ▼0.00 | 90.71 ▼8.68 | 40.20 ▼7.96 |
Posts /wp-admin/edit.php | 2,198 ▲101 | 2.11 ▲0.16 | 39.98 ▲3.12 | 36.90 ▲2.43 |
Add New Post /wp-admin/post-new.php | 6,239 ▲4,701 | 20.53 ▼2.52 | 916.49 ▲249.50 | 59.66 ▲5.67 |
Media Library /wp-admin/upload.php | 1,427 ▲33 | 4.21 ▼0.01 | 99.45 ▲0.70 | 44.35 ▲0.21 |
BeyondWords /wp-admin/options-general.php?page=beyondwords | 858 | 1.73 | 25.16 | 28.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
- 19× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\DomCrawler\\AbstractUriElement' not found in wp-content/plugins/speechkit/vendor/symfony/dom-crawler/Image.php:17
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Base_Control' not found in wp-content/plugins/speechkit/src/Compatibility/Elementor/Controls/Player.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function status_header() in wp-content/plugins/speechkit/uninstall.php:21
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\DomCrawler\\AbstractUriElement' not found in wp-content/plugins/speechkit/vendor/symfony/dom-crawler/Link.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Stringable' not found in wp-content/plugins/speechkit/vendor/symfony/polyfill-php80/PhpToken.php:19
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Base_Data_Control' not found in wp-content/plugins/speechkit/src/Compatibility/Elementor/Controls/InspectText.php:19
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Polyfill\\Php80\\PhpToken' not found in wp-content/plugins/speechkit/vendor/symfony/polyfill-php80/Resources/stubs/PhpToken.php:13
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\DomCrawler\\Field\\FormField' not found in wp-content/plugins/speechkit/vendor/symfony/dom-crawler/Field/TextareaFormField.php:19
- > PHP Parse error
syntax error, unexpected '|', expecting variable (T_VARIABLE) in wp-content/plugins/speechkit/vendor/symfony/polyfill-mbstring/bootstrap80.php on line 15
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\Constraint\\Constraint' not found in wp-content/plugins/speechkit/vendor/symfony/dom-crawler/Test/Constraint/CrawlerSelectorExists.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please describe screenshot #1 in speechkit/assets to your readme.txt
speechkit/speechkit.php Passed 13 tests
Analyzing the main PHP file in "BeyondWords - Text-to-Speech" version 4.2.4
121 characters long description:
The effortless way to make content listenable. Automatically create audio versions and embed via our customizable player.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin15,191 lines of code in 190 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 94 | 2,161 | 5,044 | 12,135 |
JavaScript | 76 | 351 | 409 | 2,190 |
JSON | 8 | 0 | 0 | 637 |
Markdown | 7 | 50 | 0 | 148 |
CSS | 5 | 9 | 0 | 81 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 16.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 181.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 38 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 72 | |
▷ Abstract classes | 2 | 2.78% |
▷ Concrete classes | 70 | 97.22% |
▷ Final classes | 8 | 11.43% |
Methods | 557 | |
▷ Static methods | 139 | 24.96% |
▷ Public methods | 501 | 89.95% |
▷ Protected methods | 25 | 4.49% |
▷ Private methods | 31 | 5.57% |
Functions | 136 | |
▷ Named functions | 109 | 80.15% |
▷ Anonymous functions | 27 | 19.85% |
Constants | 54 | |
▷ Global constants | 11 | 20.37% |
▷ Class constants | 43 | 79.63% |
▷ Public constants | 42 | 97.67% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/Component/Post/AddPlayer/tinymce-button.png | 2.90KB | 1.54KB | ▼ 46.94% |