Benchmarks
Plugin footprint 40% 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
Please fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/responsive-mobile-friendly-tooltip/responsive-tooltip.php+92
Trying to access array offset on value of type bool
Server metrics [RAM: ▼0.88MB] [CPU: ▼30.25ms] Passed 4 tests
An overview of server-side resources used by Responsive Mobile-Friendly Tooltip
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 38.68 ▼6.78 |
Dashboard /wp-admin | 3.07 ▼0.24 | 24.03 ▼23.38 |
Posts /wp-admin/edit.php | 3.07 ▼0.29 | 28.09 ▼20.77 |
Add New Post /wp-admin/post-new.php | 3.07 ▼2.82 | 26.33 ▼66.96 |
Media Library /wp-admin/upload.php | 3.07 ▼0.16 | 23.22 ▼9.88 |
Responsive Mobile-Friendly Tooltip /wp-admin/options-general.php?page=RMFtooltip-options | 3.07 | 23.44 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
RMFtooltip_version |
Browser metrics Passed 4 tests
A check of browser resources used by Responsive Mobile-Friendly Tooltip
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,895 ▲149 | 14.43 ▲0.27 | 2.48 ▲0.75 | 44.43 ▲2.87 |
Dashboard /wp-admin | 2,272 ▲81 | 4.85 ▼0.02 | 107.93 ▲3.92 | 40.31 ▼2.49 |
Posts /wp-admin/edit.php | 2,095 ▲3 | 2.06 ▲0.04 | 39.98 ▲0.05 | 34.97 ▼3.11 |
Add New Post /wp-admin/post-new.php | 1,523 ▼28 | 23.45 ▲5.32 | 689.53 ▲80.19 | 48.54 ▼0.86 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.20 ▼0.00 | 95.47 ▼13.90 | 43.17 ▼0.99 |
Responsive Mobile-Friendly Tooltip /wp-admin/options-general.php?page=RMFtooltip-options | 860 | 2.05 | 23.73 | 26.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/responsive-mobile-friendly-tooltip/responsive-tooltip-admin-page.php+41
Trying to access array offset on value of type bool
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- RMFtooltip_version
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
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
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=RMFtooltip-options
- > Notice in wp-content/plugins/responsive-mobile-friendly-tooltip/responsive-tooltip-admin-page.php+41
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=RMFtooltip-options
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=RMFtooltip-options
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=RMFtooltip-options
- > Notice in wp-content/plugins/responsive-mobile-friendly-tooltip/responsive-tooltip-admin-page.php+112
Undefined index: chkbx_replace_css
- > GET request to /wp-admin/options-general.php?page=RMFtooltip-options
- > Notice in wp-content/plugins/responsive-mobile-friendly-tooltip/responsive-tooltip-admin-page.php+126
Undefined index: textarea_css
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
Please fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-mobile-friendly-tooltip/responsive-tooltip-admin-page.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-mobile-friendly-tooltip/responsive-tooltip.php:39
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== responsive-mobile-friendly-tooltip ===
)
responsive-mobile-friendly-tooltip/responsive-tooltip.php 92% from 13 tests
Analyzing the main PHP file in "Responsive Mobile-Friendly Tooltip" version 1.6.6
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("responsive-mobile-friendly-tooltip.php" instead of "responsive-tooltip.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 plugin629 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 30 | 3 | 246 |
PHP | 2 | 17 | 27 | 227 |
JavaScript | 2 | 30 | 8 | 156 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 15 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
RMFtooltipbutton.png | 2.27KB | 1.61KB | ▼ 29.08% |