Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.02MB] [CPU: ▼54,265.29ms] Passed 4 tests
An overview of server-side resources used by SV Proven Expert
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.93 ▲1.43 | 59.30 ▲15.16 |
Dashboard /wp-admin | 4.83 ▼0.31 | 57.60 ▼217,079.92 |
Posts /wp-admin/edit.php | 4.89 ▲1.49 | 58.93 ▲7.73 |
Add New Post /wp-admin/post-new.php | 7.43 ▲1.50 | 102.27 ▼2.93 |
Media Library /wp-admin/upload.php | 4.76 ▲1.48 | 52.65 ▲13.96 |
SV ProvenExpert /wp-admin/admin.php?page=sv_provenexpert | 4.77 | 50.34 |
Info /wp-admin/admin.php?page=straightvisions | 4.81 | 47.63 |
Server storage [IO: ▲1.00MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 182 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_sv_provenexpert_widget |
db_upgraded |
can_compress_scripts |
sv_provenexpert_scripts_settings_css_sv_provenexpert_widget_scripts_config_attached |
sv_provenexpert_scripts_settings_sv_core_color_picker_attached |
widget_recent-comments |
widget_recent-posts |
sv_provenexpert_scripts_settings_css_sv_provenexpert_widget_scripts_frontend_attached |
sv_provenexpert_scripts_settings_flush_css_cache |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for SV Proven Expert
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲164 | 14.72 ▼0.01 | 1.88 ▲0.03 | 43.12 ▼0.96 |
Dashboard /wp-admin | 2,312 ▲134 | 5.53 ▼0.18 | 86.38 ▼17.02 | 82.39 ▲41.63 |
Posts /wp-admin/edit.php | 2,232 ▲132 | 1.98 ▼0.04 | 37.16 ▼2.90 | 38.00 ▼1.94 |
Add New Post /wp-admin/post-new.php | 6,331 ▲4,803 | 19.19 ▼3.93 | 955.20 ▲295.85 | 39.29 ▼14.69 |
Media Library /wp-admin/upload.php | 1,529 ▲129 | 4.23 ▼0.02 | 111.35 ▲10.73 | 84.62 ▲37.99 |
SV ProvenExpert /wp-admin/admin.php?page=sv_provenexpert | 1,490 | 10.66 | 198.82 | 28.69 |
Info /wp-admin/admin.php?page=straightvisions | 1,591 | 10.66 | 83.29 | 143.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- Zombie WordPress options were found after uninstall: 11 options
- widget_recent-comments
- sv_provenexpert_scripts_settings_css_sv_provenexpert_widget_scripts_config_attached
- sv_provenexpert_scripts_settings_flush_css_cache
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- sv_provenexpert_scripts_settings_sv_core_color_picker_attached
- can_compress_scripts
- widget_recent-posts
- widget_sv_provenexpert_widget
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 26 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=straightvisions
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 26 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=straightvisions
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/sv-provenexpert/lib/core_plugin/core/settings/tpl/setting_checkbox_field.php
- 241× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/sv-provenexpert/lib/core_plugin/core/settings/tpl/setting_upload.php on line 16
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/sv-provenexpert/lib/core_plugin/core/settings/tpl/setting_checkbox_field.php on line 14
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/sv-provenexpert/lib/core_plugin/core/settings/tpl/setting_number.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/sv-provenexpert/lib/core_plugin/core/backend/tpl/header.php:2
- > PHP Notice
Undefined variable: props in wp-content/plugins/sv-provenexpert/lib/core_plugin/core/settings/tpl/setting_margin_field.php on line 15
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/sv-provenexpert/lib/core_plugin/core/settings/tpl/setting_date.php on line 1
- > PHP Notice
Undefined variable: props in wp-content/plugins/sv-provenexpert/lib/core_plugin/core/settings/tpl/setting_text.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/sv-provenexpert/lib/core_plugin/core/settings/tpl/setting_box_shadow_tpl/blur_radius.php:2
- > PHP Fatal error
Uncaught Error: Class 'sv_core\\sv_abstract' not found in wp-content/plugins/sv-provenexpert/lib/core_plugin/core/ajax_fragmented_requests/ajax_fragmented_requests.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/sv-provenexpert/lib/core_plugin/core/lib/tpl/settings/scripts_list.php:1
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: proven expert, star reviews, straightvisions, reviews, provenexpert...
sv-provenexpert/sv_provenexpert.php 85% from 13 tests
This is the main PHP file of "SV Proven Expert" version 2.0.02, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("sv-provenexpert.php" instead of "sv_provenexpert.php")
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin16,775 lines of code in 153 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 6,868 |
PHP | 98 | 1,051 | 1,338 | 5,054 |
CSS | 30 | 289 | 89 | 2,904 |
JavaScript | 16 | 187 | 86 | 733 |
PO File | 2 | 387 | 601 | 628 |
SVG | 3 | 0 | 0 | 586 |
Markdown | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 17.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 145.00 |
Average method complexity | 2.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 40 | |
▷ Abstract classes | 1 | 2.50% |
▷ Concrete classes | 39 | 97.50% |
▷ Final classes | 0 | 0.00% |
Methods | 438 | |
▷ Static methods | 8 | 1.83% |
▷ Public methods | 388 | 88.58% |
▷ Protected methods | 28 | 6.39% |
▷ Private methods | 22 | 5.02% |
Functions | 20 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 20 | 100.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 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
3 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/modules/widget/lib/frontend/img/logo_icon.png | 1.34KB | 0.76KB | ▼ 43.44% |
lib/modules/widget/lib/frontend/img/logo.png | 39.36KB | 19.37KB | ▼ 50.80% |
lib/modules/widget/lib/frontend/img/logo_proven_expert.png | 19.73KB | 10.92KB | ▼ 44.66% |