Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.41ms] Passed 4 tests
Analyzing server-side resources used by WP Vero
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.84 ▲0.01 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.68 ▼3.98 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.39 ▼0.63 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.17 ▼17.94 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.11 ▼3.10 |
Vero Settings /wp-admin/options-general.php?page=Vero_Settings | 3.25 | 30.89 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
WP Vero: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.24 ▼1.14 | 2.64 ▲0.81 | 43.05 ▼0.97 |
Dashboard /wp-admin | 2,213 ▲22 | 4.86 ▲0.00 | 111.49 ▲1.25 | 42.22 ▼3.44 |
Posts /wp-admin/edit.php | 2,090 ▼2 | 2.02 ▲0.03 | 36.35 ▼5.35 | 33.84 ▼3.00 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.06 ▼0.33 | 663.10 ▲0.57 | 65.53 ▲10.78 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.24 ▼0.03 | 99.61 ▼0.92 | 43.68 ▼0.30 |
Vero Settings /wp-admin/options-general.php?page=Vero_Settings | 942 | 2.02 | 22.20 | 29.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
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 errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=Vero_Settings
- > Notice in wp-content/plugins/wp-vero/wpvero_admin_config.php+2
Undefined index: wpvero_hidden
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-vero/wpvero_snippet_event.php
- > /wp-content/plugins/wp-vero/wpvero_snippet_library.php
- > /wp-content/plugins/wp-vero/wpvero_snippet_identify.php
- 7× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined variable: identity in wp-content/plugins/wp-vero/wpvero_snippet_identify.php on line 2
- > PHP Notice
Undefined variable: event in wp-content/plugins/wp-vero/wpvero_snippet_event.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wp-vero/wp-vero.php:31
- > PHP Notice
Undefined index: wpvero_hidden in wp-content/plugins/wp-vero/wpvero_admin_config.php on line 2
- > PHP Notice
Undefined variable: ignore in wp-content/plugins/wp-vero/wpvero_snippet_library.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-vero/wpvero_admin_config.php:21
- > PHP Notice
Undefined variable: api_key in wp-content/plugins/wp-vero/wpvero_snippet_library.php on line 4
- > PHP Notice
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 93% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== wp-vero ===
)
wp-vero/wp-vero.php 92% from 13 tests
The entry point to "WP Vero" version 1.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 156 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin234 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 29 | 69 | 230 |
Markdown | 1 | 2 | 0 | 4 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 3 | 30.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin