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: ▼0.66MB] [CPU: ▼25.53ms] Passed 4 tests
An overview of server-side resources used by Ultimate CSS Gradient Maker
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 40.79 ▼0.90 |
Dashboard /wp-admin | 3.17 ▼0.14 | 28.38 ▼23.36 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 45.95 ▼4.82 |
Add New Post /wp-admin/post-new.php | 3.26 ▼2.64 | 35.88 ▼67.78 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 29.66 ▼6.16 |
All Gradients /wp-admin/edit.php?post_type=ucgm_gradient_cpt | 3.29 | 31.45 |
Add New /wp-admin/post-new.php?post_type=ucgm_gradient_cpt | 3.20 | 32.92 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Ultimate CSS Gradient Maker
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲88 | 13.34 ▼1.04 | 4.59 ▲2.89 | 42.67 ▼2.11 |
Dashboard /wp-admin | 2,234 ▲46 | 5.85 ▲0.95 | 98.85 ▼2.82 | 39.22 ▲2.90 |
Posts /wp-admin/edit.php | 2,136 ▲47 | 2.14 ▲0.09 | 37.60 ▼1.05 | 35.85 ▲3.14 |
Add New Post /wp-admin/post-new.php | 1,563 ▲21 | 23.25 ▲5.08 | 675.67 ▲44.89 | 52.55 ▼0.70 |
Media Library /wp-admin/upload.php | 1,419 ▲37 | 4.21 ▼0.01 | 96.39 ▼8.17 | 40.86 ▼2.50 |
All Gradients /wp-admin/edit.php?post_type=ucgm_gradient_cpt | 1,095 | 1.95 | 30.84 | 42.77 |
Add New /wp-admin/post-new.php?post_type=ucgm_gradient_cpt | 1,781 | 2.84 | 54.84 | 34.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=ucgm_gradient_cpt
- > Notice in wp-content/plugins/ultimate-css-gradient-maker/ultimate-css-gradient-maker.php+394
Trying to get property 'post_type' of non-object
SRP 50% 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-css-gradient-maker/ultimate-css-gradient-maker.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/post-new.php?post_type=ucgm_gradient_cpt
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/ultimate-css-gradient-maker/js/ucgm_admin.js?ver=6.3.1:77:18)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/post-new.php?post_type=ucgm_gradient_cpt
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
6 plugin tags: responsive, shortcode, css, gradient maker, gradient...
ultimate-css-gradient-maker/ultimate-css-gradient-maker.php Passed 13 tests
The main file in "Ultimate CSS Gradient Maker" v. 1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
102 characters long description:
Wrap any page or post content in a completely customizable css background gradient, quickly and easily
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
Success! There were no dangerous files found in this plugin683 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 114 | 45 | 505 |
JavaScript | 1 | 20 | 8 | 106 |
CSS | 1 | 18 | 12 | 72 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 14 | 93.33% |
▷ Anonymous functions | 1 | 6.67% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin