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
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼11.31ms] Passed 4 tests
This is a short check of server-side resources used by Accessible Tooltips
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▼0.00 | 29.69 ▼12.85 |
Dashboard /wp-admin | 3.41 ▲0.10 | 53.51 ▼2.68 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 46.68 ▼13.20 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 83.88 ▼16.51 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 35.27 ▼1.91 |
Tooltips /wp-admin/edit.php?post_type=accessible_tooltip | 3.37 | 38.87 |
Settings /wp-admin/edit.php?post_type=accessible_tooltip&page=accessible-tooltips | 3.31 | 30.99 |
Add New /wp-admin/post-new.php?post_type=accessible_tooltip | 3.44 | 49.65 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 13 new options
New WordPress options |
---|
accessible_tooltips_placement |
accessible_tooltips_hide_on_click |
widget_recent-comments |
widget_theysaidso_widget |
accessible_tooltips_interactive_border_size |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
accessible_tooltips_custom_css |
accessible_tooltips_theme |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Accessible Tooltips
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲145 | 14.50 ▲0.15 | 4.98 ▲3.07 | 49.32 ▲9.38 |
Dashboard /wp-admin | 2,243 ▲52 | 5.82 ▲0.78 | 107.33 ▼0.29 | 42.00 ▼1.41 |
Posts /wp-admin/edit.php | 2,129 ▲40 | 2.00 ▼0.03 | 36.10 ▲1.28 | 33.89 ▼3.44 |
Add New Post /wp-admin/post-new.php | 1,558 ▲39 | 17.47 ▼5.60 | 657.12 ▲36.05 | 67.65 ▲13.50 |
Media Library /wp-admin/upload.php | 1,428 ▲40 | 4.18 ▲0.01 | 94.03 ▼12.47 | 40.56 ▼2.64 |
Tooltips /wp-admin/edit.php?post_type=accessible_tooltip | 1,093 | 1.93 | 31.42 | 37.29 |
Settings /wp-admin/edit.php?post_type=accessible_tooltip&page=accessible-tooltips | 966 | 2.03 | 25.38 | 24.44 |
Add New /wp-admin/post-new.php?post_type=accessible_tooltip | 2,232 | 7.59 | 167.10 | 66.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 13 options in the database
- widget_recent-posts
- accessible_tooltips_custom_css
- accessible_tooltips_theme
- accessible_tooltips_interactive_border_size
- db_upgraded
- accessible_tooltips_fallback_placement
- can_compress_scripts
- widget_recent-comments
- accessible_tooltips_allow_html
- accessible_tooltips_placement
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > 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 just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Contributors: Contributors not specified
- Plugin Name: You should set the name of your plugin on the first line (
=== accessible-tooltips ===
)
accessible-tooltips/accessible-tooltips.php 92% from 13 tests
The principal PHP file in "Accessible Tooltips" v. 1.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 158 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected17,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 short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected