83% accessible-tooltips

Code Review | Accessible Tooltips

WordPress plugin Accessible Tooltips scored 83% from 54 tests.

About plugin

  • Plugin page: accessible-tooltips
  • Plugin version: 1.2
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.6-5.6
  • WordPress version: 5.9.2
  • First release: Jan 22, 2021
  • Latest release: Jan 22, 2021
  • Number of updates: 5
  • Update frequency: N/A
  • Top authors: toiledemaitre (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 332 total downloads


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
PageMemory (MB)CPU Time (ms)
Home /3.49 ▼0.0249.64 ▼1.66
Dashboard /wp-admin3.46 ▲0.0637.70 ▲3.53
Posts /wp-admin/edit.php3.69 ▲0.0537.67 ▲1.43
Add New Post /wp-admin/post-new.php6.95 ▼0.0594.49 ▼1,184.67
Media Library /wp-admin/upload.php3.34 ▲0.0524.17 ▲0.06
Tooltips /wp-admin/edit.php?post_type=accessible_tooltip3.3925.83
Add New /wp-admin/post-new.php?post_type=accessible_tooltip3.6740.78
Settings /wp-admin/edit.php?post_type=accessible_tooltip&page=accessible-tooltips3.3721.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

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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,845 ▲10316.04 ▲0.387.38 ▲1.322.44 ▲0.19
Dashboard /wp-admin2,941 ▲806.12 ▼0.04115.36 ▼17.60152.41 ▼8.53
Posts /wp-admin/edit.php2,742 ▲513.25 ▲0.0263.75 ▲1.24140.14 ▲0.08
Add New Post /wp-admin/post-new.php1,715 ▲5418.08 ▲2.07403.75 ▼31.76158.52 ▼34.47
Media Library /wp-admin/upload.php1,749 ▲485.54 ▲0.04133.75 ▼20.43186.58 ▼4.05
Tooltips /wp-admin/edit.php?post_type=accessible_tooltip1,4153.1659.99113.90
Add New /wp-admin/post-new.php?post_type=accessible_tooltip2,82510.16189.02205.21
Settings /wp-admin/edit.php?post_type=accessible_tooltip&page=accessible-tooltips1,2302.4153.3198.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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found


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
The official readme.txt might help

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:
LanguageFilesBlank linesComment linesLines of code
PO File1271074
Bourne Shell1001

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 code0.31
Average class complexity5.00
▷ Minimum class complexity5.00
▷ Maximum class complexity5.00
Average method complexity1.25
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods16100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants1100.00%
▷ Public constants1100.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