Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.17MB] [CPU: ▼152.62ms] Passed 4 tests
An overview of server-side resources used by Vbee Text to Speech
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.82 ▼0.01 | 30.36 ▼5.90 |
Dashboard /wp-admin | 3.10 ▲0.05 | 40.93 ▼4.53 |
Posts /wp-admin/edit.php | 3.19 ▲0.09 | 43.06 ▼1.93 |
Add New Post /wp-admin/post-new.php | 4.69 ▼0.74 | 58.54 ▼598.13 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 34.49 ▲3.89 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Vbee Text to Speech
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,733 ▲161 | 15.35 ▼0.21 | 8.10 ▼0.42 | 43.63 ▼3.42 |
Dashboard /wp-admin | 3,007 ▲73 | 5.72 ▼0.23 | 111.27 ▼41.45 | 120.02 ▲10.95 |
Posts /wp-admin/edit.php | 2,901 ▲162 | 2.70 ▼0.01 | 65.38 ▲1.02 | 110.43 ▲21.76 |
Add New Post /wp-admin/post-new.php | 1,362 ▼140 | 11.35 ▼7.21 | 347.87 ▼51.03 | 17.06 ▼88.10 |
Media Library /wp-admin/upload.php | 1,561 ▼246 | 4.61 ▼0.41 | 101.82 ▼55.60 | 93.08 ▼22.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/vbee-text-to-speech/vbee.php
- > /wp-content/plugins/vbee-text-to-speech/index.php
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/vbee-text-to-speech/includes/admin-setting-class.php:291
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/vbee-text-to-speech/includes/admin-convert-class.php:98
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vbee-text-to-speech/includes/frontend-setting-class.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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
3 plugin tags: texttospeech, vbee, extensions
vbee-text-to-speech/vbee.php 77% from 13 tests
This is the main PHP file of "Vbee Text to Speech" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 728 characters long)
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("vbee-text-to-speech.php" instead of "vbee.php")
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
No dangerous file extensions were detected880 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 71 | 72 | 651 |
JavaScript | 1 | 8 | 7 | 124 |
Sass | 1 | 9 | 0 | 103 |
CSS | 1 | 0 | 1 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 23.33 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 3.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 26 | |
▷ Static methods | 1 | 3.85% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected