78% tooltip-crazy

Code Review | Tooltip Crazy

WordPress plugin Tooltip Crazy scored78%from 54 tests.

About plugin

  • Plugin page: tooltip-crazy
  • Plugin version: 1.1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1-4.8
  • WordPress version: 6.3.1
  • First release: Jan 14, 2015
  • Latest release: Dec 21, 2015
  • Number of updates: 15
  • Update frequency: every 59.3 days
  • Top authors: welly2103 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /1,597 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.04MB] [CPU: ▼7.67ms] Passed 4 tests

An overview of server-side resources used by Tooltip Crazy
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0438.57 ▼8.46
Dashboard /wp-admin3.38 ▲0.0452.73 ▼6.50
Posts /wp-admin/edit.php3.50 ▲0.1054.60 ▲3.47
Add New Post /wp-admin/post-new.php5.96 ▲0.0490.30 ▼12.74
Media Library /wp-admin/upload.php3.30 ▲0.0336.21 ▼2.97
Tooltip Crazy /wp-admin/options-general.php?page=tooltipcrazy3.2734.58

Server storage [IO: ▲0.56MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 27 new files
Database: no new tables, 8 new options
New WordPress options
tooltipcrazy_default_layout
widget_recent-posts
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options
tooltipcrazy_default_effect
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by Tooltip Crazy
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,832 ▲7114.24 ▼0.142.17 ▲0.3039.37 ▼4.33
Dashboard /wp-admin2,201 ▲245.63 ▲0.0588.73 ▼1.0942.79 ▲3.74
Posts /wp-admin/edit.php2,109 ▲92.02 ▲0.0537.27 ▼0.8335.12 ▼2.78
Add New Post /wp-admin/post-new.php1,533 ▲722.94 ▼0.10691.76 ▲49.0553.35 ▲6.51
Media Library /wp-admin/upload.php1,409 ▲64.20 ▲0.02103.15 ▼3.5546.46 ▲0.90
Tooltip Crazy /wp-admin/options-general.php?page=tooltipcrazy8772.0325.7526.57

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
  • 11 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=tooltipcrazy
    • > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
    • > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
    file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
  • 11 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=tooltipcrazy
    • > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
    • > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
    file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known

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
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/tooltip-crazy/tooltip-crazy.php

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 Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: tooltips, tooltip crazy, tooltip

tooltip-crazy/tooltip-crazy.php 77% from 13 tests

"Tooltip Crazy" version 1.1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
  • Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("")
  • Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
  • Domain Path: Prefix the domain path with a forward slash character ("/")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,257 lines of code in 19 files:
LanguageFilesBlank linesComment linesLines of code
SVG800595
CSS87021433
PHP12431173
JavaScript10045
Markdown19011

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.46
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin