Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲5.48MB] [CPU: ▲19.03ms] 75% from 4 tests
This is a short check of server-side resources used by Verbalize WP
It is recommended to improve the following
- Extra RAM: Extra memory usage must be kept under 5MB (currently 5.48MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.29 ▲5.82 | 60.86 ▲15.42 |
Dashboard /wp-admin | 9.31 ▲6.00 | 70.49 ▲23.59 |
Posts /wp-admin/edit.php | 9.31 ▲5.95 | 81.03 ▲33.10 |
Add New Post /wp-admin/post-new.php | 10.06 ▲4.17 | 108.37 ▲5.79 |
Media Library /wp-admin/upload.php | 9.31 ▲6.07 | 66.42 ▲31.32 |
Freemius Debug [v.2.5.3] /wp-admin/admin.php?page=freemius | 9.31 | 63.35 |
Server storage [IO: ▲4.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 223 new files
Database: no new tables, 10 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
fs_active_plugins |
fs_gdpr |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
fs_debug_mode |
fs_accounts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Verbalize WP
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,960 ▲214 | 13.81 ▼0.42 | 8.70 ▲6.93 | 32.95 ▼8.39 |
Dashboard /wp-admin | 2,252 ▲64 | 5.90 ▼0.00 | 109.85 ▲3.53 | 42.71 ▼1.07 |
Posts /wp-admin/edit.php | 2,138 ▲49 | 2.03 ▼0.14 | 39.56 ▼3.12 | 38.85 ▲2.97 |
Add New Post /wp-admin/post-new.php | 1,543 ▲24 | 22.59 ▼0.47 | 659.35 ▲34.74 | 62.25 ▲7.10 |
Media Library /wp-admin/upload.php | 1,434 ▲52 | 4.19 ▼0.05 | 101.49 ▲2.58 | 45.40 ▲0.61 |
Freemius Debug [v.2.5.3] /wp-admin/admin.php?page=freemius | 1,106 | 1.72 | 24.97 | 27.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/verbalize-wp/freemius/includes/class-freemius.php+8772
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 10 options in the database
- fs_debug_mode
- widget_recent-comments
- widget_theysaidso_widget
- fs_gdpr
- can_compress_scripts
- fs_active_plugins
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- fs_accounts
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/verbalize-wp/includes/admin/forms/verbalize-wp-settings.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid URI found ("later")
verbalize-wp/verbalize-wp.php 85% from 13 tests
The primary PHP file in "Verbalize WP" version 1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path must begin with a forward slash character ("/languages")
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin35,232 lines of code in 145 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 122 | 8,192 | 17,502 | 34,530 |
JavaScript | 7 | 115 | 81 | 603 |
CSS | 15 | 0 | 6 | 64 |
Markdown | 1 | 15 | 0 | 35 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
It is recommended to fix the following
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,089)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 89.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,089.00 |
Average method complexity | 4.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 51 | |
▷ Abstract classes | 2 | 3.92% |
▷ Concrete classes | 49 | 96.08% |
▷ Final classes | 0 | 0.00% |
Methods | 1,278 | |
▷ Static methods | 192 | 15.02% |
▷ Public methods | 896 | 70.11% |
▷ Protected methods | 17 | 1.33% |
▷ Private methods | 365 | 28.56% |
Functions | 93 | |
▷ Named functions | 93 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 153 | |
▷ Global constants | 106 | 69.28% |
▷ Class constants | 47 | 30.72% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
37 PNG files occupy 0.48MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/wp-sale-voice.png | 9.16KB | 5.26KB | ▼ 42.58% |
includes/images/mute-black.png | 3.73KB | 2.65KB | ▼ 28.86% |
Screenshot-1.png | 57.32KB | 28.59KB | ▼ 50.13% |
includes/images/speaker-yellow.png | 8.21KB | 2.44KB | ▼ 70.26% |
assets/Screenshot-2.png | 44.40KB | 22.22KB | ▼ 49.95% |