84% tooltipper-by-akos

Code Review | Tooltipper by Ákos

WordPress plugin Tooltipper by Ákos scored 84% from 54 tests.

About plugin

  • Plugin page: tooltipper-by-akos
  • Plugin version: 1.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.2
  • WordPress version: 6.3.1
  • First release: May 7, 2022
  • Latest release: Apr 25, 2023
  • Number of updates: 5
  • Update frequency: every 70.6 days
  • Top authors: csomorelwood (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 165 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 successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.00MB] [CPU: ▼3.22ms] Passed 4 tests

A check of server-side resources used by Tooltipper by Ákos
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0135.91 ▼4.68
Dashboard /wp-admin3.31 ▲0.0144.54 ▼1.43
Posts /wp-admin/edit.php3.36 ▲0.0046.71 ▼2.49
Add New Post /wp-admin/post-new.php5.89 ▲0.0092.85 ▼3.64
Media Library /wp-admin/upload.php3.23 ▲0.0034.96 ▼2.06

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Tooltipper by Ákos
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /5,135 ▲2,40013.22 ▼1.092.49 ▲0.7739.28 ▼0.65
Dashboard /wp-admin4,135 ▲1,9434.92 ▼0.03115.81 ▼2.4047.62 ▲3.89
Posts /wp-admin/edit.php3,945 ▲1,8532.00 ▼0.0645.73 ▲5.2238.14 ▲2.23
Add New Post /wp-admin/post-new.php2,577 ▲1,04423.08 ▼0.11636.81 ▲13.2760.89 ▲3.39
Media Library /wp-admin/upload.php2,196 ▲8084.25 ▼0.01101.58 ▼15.0144.92 ▼4.38

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
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tooltipper-by-akos/tooltip-akos.php:16

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: indintnc, tooltip, sok, meme, kos...

tooltipper-by-akos/tooltip-akos.php 92% from 13 tests

The primary PHP file in "Tooltipper by Ákos" version 1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("tooltipper-by-akos.php" instead of "tooltip-akos.php")

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
There were no executable files found in this plugin33 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
CSS12019
PHP14811
JavaScript1003

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin