Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/responsive-iframe-watchdog/lgr_responsive_iframe_watchdog.php+367
Undefined variable: wp_version
Server metrics [RAM: ▼0.33MB] [CPU: ▼19.74ms] Passed 4 tests
An overview of server-side resources used by Responsive Iframe Watchdog
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 28.98 ▼10.64 |
Dashboard /wp-admin | 3.21 ▼0.09 | 29.83 ▼17.70 |
Posts /wp-admin/edit.php | 3.31 ▼0.04 | 33.12 ▼12.86 |
Add New Post /wp-admin/post-new.php | 4.67 ▼1.21 | 42.31 ▼37.74 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 28.95 ▼5.37 |
Responsive Iframe Watchdog /wp-admin/options-general.php?page=lgrriw_pluginPage | 3.16 | 27.41 |
Server storage [IO: ▲3.37MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 80 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Responsive Iframe Watchdog
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲80 | 13.87 ▼0.72 | 1.55 ▼0.25 | 39.70 ▼2.81 |
Dashboard /wp-admin | 2,232 ▲41 | 5.17 ▲0.28 | 103.47 ▲4.11 | 37.84 ▼1.00 |
Posts /wp-admin/edit.php | 2,117 ▲31 | 2.51 ▲0.51 | 37.03 ▼1.88 | 31.84 ▲0.09 |
Add New Post /wp-admin/post-new.php | 1,539 ▲25 | 23.49 ▲5.88 | 669.04 ▼14.83 | 40.31 ▼14.38 |
Media Library /wp-admin/upload.php | 1,408 ▲23 | 4.47 ▲0.22 | 96.41 ▼5.07 | 45.17 ▲0.93 |
Responsive Iframe Watchdog /wp-admin/options-general.php?page=lgrriw_pluginPage | 931 | 2.29 | 33.33 | 27.34 |
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: 6 options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=lgrriw_pluginPage
- > Notice in wp-content/plugins/responsive-iframe-watchdog/lgr_responsive_iframe_watchdog.php+235
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=lgrriw_pluginPage
- > Warning in wp-content/plugins/responsive-iframe-watchdog/admin/includes/lgr_responsive_iframe_watchdog_options_page.php+46
Use of undefined constant BLOG_ID_CURRENT_SITE - assumed 'BLOG_ID_CURRENT_SITE' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/options-general.php?page=lgrriw_pluginPage
- > Warning in wp-content/plugins/responsive-iframe-watchdog/admin/includes/lgr_responsive_iframe_watchdog_options_page.php+348
Use of undefined constant pluginName - assumed 'pluginName' (this will throw an Error in a future version of PHP)
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-iframe-watchdog/lgr_responsive_iframe_watchdog.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/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 uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
responsive-iframe-watchdog/lgr_responsive_iframe_watchdog.php 92% from 13 tests
The main file in "Responsive Iframe Watchdog" v. 1.2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("responsive-iframe-watchdog.php" instead of "lgr_responsive_iframe_watchdog.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin7,020 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
HTML | 5 | 57 | 20 | 2,513 |
CSS | 12 | 346 | 238 | 2,284 |
JavaScript | 11 | 132 | 309 | 1,541 |
PHP | 2 | 926 | 204 | 483 |
SVG | 1 | 0 | 1 | 106 |
XML | 7 | 0 | 0 | 93 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
38 PNG files occupy 2.64MB with 1.50MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/Khloe_Cropped_222_badge_Feathered_webized_2.png | 19.88KB | 18.35KB | ▼ 7.66% |
assets/youtube_20.png | 3.85KB | 1.28KB | ▼ 66.79% |
assets/tinymce-button_32_1.png | 5.61KB | 1.79KB | ▼ 68.05% |
assets/screenshot-8.png | 148.08KB | 39.24KB | ▼ 73.50% |
assets/other_video.png | 3.86KB | 1.24KB | ▼ 67.81% |