Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.45MB] [CPU: ▼0.96ms] Passed 4 tests
A check of server-side resources used by WOVN.io
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.94 ▲0.48 | 41.04 ▲2.39 |
Dashboard /wp-admin | 3.77 ▲0.47 | 53.82 ▲3.96 |
Posts /wp-admin/edit.php | 3.82 ▲0.46 | 50.46 ▲1.45 |
Add New Post /wp-admin/post-new.php | 6.29 ▲0.40 | 92.63 ▼11.65 |
Media Library /wp-admin/upload.php | 3.69 ▲0.46 | 38.09 ▲4.65 |
WOVN.io /wp-admin/options-general.php?page=wovn-setting-admin | 3.57 | 32.59 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 57 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WOVN.io
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲80 | 15.96 ▲1.58 | 9.14 ▲7.59 | 42.58 ▲1.42 |
Dashboard /wp-admin | 2,198 ▲18 | 5.51 ▼0.14 | 89.62 ▲1.43 | 38.15 ▼5.69 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.99 ▲0.05 | 34.55 ▼0.28 | 33.50 ▼4.77 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.29 ▲0.24 | 637.83 ▼8.99 | 53.36 ▼8.26 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.17 ▼0.04 | 96.33 ▼14.26 | 41.60 ▼7.03 |
WOVN.io /wp-admin/options-general.php?page=wovn-setting-admin | 2,601 | 2.19 | 27.01 | 85.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- 79 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wovn-setting-admin
- > Notice in wp-content/plugins/wovn-io/wovnwp/wp-classes/wovn_options.php+111
Undefined index: wovn_lang_code_aliases_temp
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 items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function Wovnio\\Wovnwp\\WpClasses\\get_option() in wp-content/plugins/wovn-io/wovnwp/wp-classes/wovn_options.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: i18n, localization, translation, wovnio, l10n...
wovn-io/wovnio.php 92% from 13 tests
The primary PHP file in "WOVN.io" version 1.10.1 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wovn-io.php" instead of "wovnio.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin1,894 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 325 | 197 | 1,815 |
CSS | 1 | 10 | 0 | 45 |
SVG | 1 | 0 | 1 | 34 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 10.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 1 | 4.35% |
▷ Concrete classes | 22 | 95.65% |
▷ Final classes | 0 | 0.00% |
Methods | 128 | |
▷ Static methods | 19 | 14.84% |
▷ Public methods | 104 | 81.25% |
▷ Protected methods | 3 | 2.34% |
▷ Private methods | 21 | 16.41% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
30 compressed PNG files occupy 0.04MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wovnwp/images/flags/tr.png | 0.31KB | 0.23KB | ▼ 26.18% |
wovnwp/images/flags/zh-CHS.png | 0.18KB | 0.25KB | 0.00% |
wovnwp/images/flags/zh-CHT.png | 0.18KB | 0.25KB | 0.00% |
wovnwp/images/flags/nl.png | 0.12KB | 0.12KB | ▼ 0.79% |
wovnwp/images/flags/ne.png | 0.41KB | 0.45KB | 0.00% |