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 gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.90ms] Passed 4 tests
Server-side resources used by Gauge Meter Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 34.74 ▼3.38 |
Dashboard /wp-admin | 3.31 ▼0.03 | 44.50 ▼12.06 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.95 ▼4.32 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.65 ▼11.85 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.63 ▲3.70 |
Server storage [IO: ▲0.98MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 276 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Gauge Meter Slider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲71 | 14.10 ▼0.17 | 2.41 ▲0.75 | 42.98 ▲3.15 |
Dashboard /wp-admin | 2,192 ▲22 | 5.46 ▼0.06 | 92.08 ▼12.20 | 39.72 ▼2.03 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.97 ▲0.02 | 34.70 ▼9.99 | 33.03 ▼8.30 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.27 ▲0.53 | 601.55 ▼5.80 | 44.29 ▼3.30 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.24 ▲0.03 | 93.92 ▼6.16 | 40.30 ▼2.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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 trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/gauge-meter-slider-jquery/insert-it-at-head.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add an image for screenshot #1 (The Gauge Meter with Slider, made with jQuery)
gauge-meter-slider-jquery/insert-it-at-head.php 92% from 13 tests
"Gauge Meter Slider" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("gauge-meter-slider-jquery.php" instead of "insert-it-at-head.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin3,914 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 70 | 286 | 3,729 |
JavaScript | 9 | 16 | 34 | 115 |
HTML | 1 | 0 | 0 | 53 |
PHP | 1 | 5 | 11 | 17 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 2 | |
▷ Named functions | 2 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
250 PNG files occupy 0.44MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
jqwidgets/styles/images/overcast/ui-bg_flat_0_eeeeee_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
jqwidgets/styles/images/sunny/ui-icons_3d3d3d_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
jqwidgets/styles/images/icon-last-white.png | 0.15KB | 0.12KB | ▼ 23.57% |
jqwidgets/styles/images/start/ui-icons_f7a50d_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
jqwidgets/styles/images/wp_check_indeterminate_white.png | 0.92KB | 0.10KB | ▼ 88.82% |