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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼296.21ms] Passed 4 tests
An overview of server-side resources used by Accessible Tooltips
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▼0.02 | 49.64 ▼1.66 |
Dashboard /wp-admin | 3.46 ▲0.06 | 37.70 ▲3.53 |
Posts /wp-admin/edit.php | 3.69 ▲0.05 | 37.67 ▲1.43 |
Add New Post /wp-admin/post-new.php | 6.95 ▼0.05 | 94.49 ▼1,184.67 |
Media Library /wp-admin/upload.php | 3.34 ▲0.05 | 24.17 ▲0.06 |
Tooltips /wp-admin/edit.php?post_type=accessible_tooltip | 3.39 | 25.83 |
Add New /wp-admin/post-new.php?post_type=accessible_tooltip | 3.67 | 40.78 |
Settings /wp-admin/edit.php?post_type=accessible_tooltip&page=accessible-tooltips | 3.37 | 21.67 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
accessible_tooltips_interactive_border_size |
accessible_tooltips_hide_on_click |
accessible_tooltips_allow_html |
accessible_tooltips_theme |
accessible_tooltips_placement |
accessible_tooltips_fallback_placement |
accessible_tooltips_custom_css |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Accessible Tooltips
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,845 ▲103 | 16.04 ▲0.38 | 7.38 ▲1.32 | 2.44 ▲0.19 |
Dashboard /wp-admin | 2,941 ▲80 | 6.12 ▼0.04 | 115.36 ▼17.60 | 152.41 ▼8.53 |
Posts /wp-admin/edit.php | 2,742 ▲51 | 3.25 ▲0.02 | 63.75 ▲1.24 | 140.14 ▲0.08 |
Add New Post /wp-admin/post-new.php | 1,715 ▲54 | 18.08 ▲2.07 | 403.75 ▼31.76 | 158.52 ▼34.47 |
Media Library /wp-admin/upload.php | 1,749 ▲48 | 5.54 ▲0.04 | 133.75 ▼20.43 | 186.58 ▼4.05 |
Tooltips /wp-admin/edit.php?post_type=accessible_tooltip | 1,415 | 3.16 | 59.99 | 113.90 |
Add New /wp-admin/post-new.php?post_type=accessible_tooltip | 2,825 | 10.16 | 189.02 | 205.21 |
Settings /wp-admin/edit.php?post_type=accessible_tooltip&page=accessible-tooltips | 1,230 | 2.41 | 53.31 | 98.96 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- accessible_tooltips_allow_html
- accessible_tooltips_custom_css
- accessible_tooltips_interactive_border_size
- accessible_tooltips_theme
- accessible_tooltips_hide_on_click
- accessible_tooltips_fallback_placement
- accessible_tooltips_placement
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/accessible-tooltips/settings_page.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function AccessibleTooltips\\add_action() in wp-content/plugins/accessible-tooltips/accessible-tooltips.php:39
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== accessible-tooltips ===
) - Contributors: Contributors not specified
accessible-tooltips/accessible-tooltips.php 92% from 13 tests
The main PHP file in "Accessible Tooltips" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 158 characters long)
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
There were no executable files found in this plugin17,179 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 5 | 0 | 0 | 16,706 |
PHP | 3 | 37 | 24 | 273 |
JavaScript | 7 | 8 | 20 | 103 |
PO File | 1 | 27 | 10 | 74 |
Markdown | 1 | 7 | 0 | 17 |
CSS | 1 | 0 | 0 | 4 |
Bourne Shell | 1 | 0 | 0 | 1 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 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 | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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
There were not PNG files found in your plugin