Benchmarks
Plugin footprint 65% 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.91MB] [CPU: ▼34.21ms] Passed 4 tests
This is a short check of server-side resources used by Ultimate Row Gradient Light
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 37.19 ▼2.58 |
Dashboard /wp-admin | 3.04 ▼0.26 | 23.67 ▼28.88 |
Posts /wp-admin/edit.php | 3.04 ▼0.32 | 26.12 ▼22.92 |
Add New Post /wp-admin/post-new.php | 3.04 ▼2.85 | 23.15 ▼75.16 |
Media Library /wp-admin/upload.php | 3.04 ▼0.19 | 22.55 ▼9.89 |
Row Gradient /wp-admin/options-general.php?page=urg_dashboard | 3.04 | 23.07 |
Server storage [IO: ▲0.04MB] [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, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Ultimate Row Gradient Light: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,972 ▲201 | 14.97 ▲0.53 | 1.75 ▼0.13 | 40.01 ▼3.88 |
Dashboard /wp-admin | 2,377 ▲191 | 6.61 ▲1.66 | 134.71 ▲20.76 | 39.85 ▼2.96 |
Posts /wp-admin/edit.php | 2,280 ▲194 | 3.52 ▲1.52 | 56.69 ▲16.35 | 35.81 ▲3.72 |
Add New Post /wp-admin/post-new.php | 1,539 ▲20 | 21.26 ▼1.97 | 646.21 ▼2.33 | 35.90 ▼17.66 |
Media Library /wp-admin/upload.php | 1,422 ▲37 | 4.31 ▲0.13 | 83.32 ▼17.97 | 42.75 ▲0.53 |
Row Gradient /wp-admin/options-general.php?page=urg_dashboard | 1,043 | 3.41 | 41.17 | 44.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin cannot be uninstalled
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=urg_dashboard
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- > GET request to /wp-admin/options-general.php?page=urg_dashboard
- > Warning in wp-admin/includes/plugin.php+294
opendir(wp-content/plugins/ultimate-magnium-addons): failed to open dir: No such file or directory
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/ultimate-row-gradient-light/includes/vc_templates/vc_row.php
- 8× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/ultimate-row-gradient-light/includes/shortcodes/vc-row-custom.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ultimate-row-gradient-light/includes/dashboard/templates/header.php:12
- > PHP Warning
Use of undefined constant URGL_PLUGIN_PATH - assumed 'URGL_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/ultimate-row-gradient-light/includes/dashboard/dashboard.php on line 15
- > PHP Warning
require_once(URGL_PLUGIN_PATHincludes/dashboard/classes/plugin-welcome.php): failed to open stream: No such file or directory in wp-content/plugins/ultimate-row-gradient-light/includes/dashboard/dashboard.php on line 15
- > PHP Fatal error
require_once(): Failed opening required 'URGL_PLUGIN_PATHincludes/dashboard/classes/plugin-welcome.php' (include_path='.:/usr/share/php') in wp-content/plugins/ultimate-row-gradient-light/includes/dashboard/dashboard.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-row-gradient-light/includes/shortcodes.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/ultimate-row-gradient-light/includes/dashboard/classes/plugin-welcome.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/ultimate-row-gradient-light/ultimate-row-gradient-light.php:22
- > PHP Fatal error
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 on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: wpbakery, backgrounds, gradient background, pagebuilder, row gradient background...
ultimate-row-gradient-light/ultimate-row-gradient-light.php 92% from 13 tests
The principal PHP file in "Ultimate Row Gradient Light" v. 1.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin636 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 120 | 114 | 528 |
CSS | 2 | 8 | 7 | 108 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 2.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 3 | 13.64% |
▷ Public methods | 22 | 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 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/developer-icon.png | 4.52KB | 4.86KB | 0.00% |