84% i-tell-you-what

Code Review | I Tell You What

WordPress plugin I Tell You What scored84%from 54 tests.

About plugin

  • Plugin page: i-tell-you-what
  • Plugin version: 1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.1.1
  • WordPress version: 6.3.1
  • First release: Sep 15, 2019
  • Latest release: Mar 14, 2023
  • Number of updates: 7
  • Update frequency: every 182.3 days
  • Top authors: kylewilson (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,026 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼5.27ms] Passed 4 tests

Server-side resources used by I Tell You What
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0136.24 ▼0.27
Dashboard /wp-admin3.32 ▲0.0147.61 ▼1.22
Posts /wp-admin/edit.php3.37 ▲0.0144.21 ▼0.83
Add New Post /wp-admin/post-new.php5.90 ▲0.0184.54 ▼13.79
Media Library /wp-admin/upload.php3.25 ▲0.0132.25 ▼5.24

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for I Tell You What
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,797 ▲3614.35 ▼0.021.78 ▲0.1844.28 ▲5.56
Dashboard /wp-admin2,203 ▲235.59 ▲0.0188.55 ▲1.3839.66 ▼3.00
Posts /wp-admin/edit.php2,108 ▲82.00 ▲0.0037.70 ▼2.3733.31 ▼5.70
Add New Post /wp-admin/post-new.php1,536 ▲823.04 ▲0.21667.02 ▼0.7959.29 ▲7.40
Media Library /wp-admin/upload.php1,405 ▲24.13 ▼0.0799.68 ▼13.8145.74 ▼1.95

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
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/i-tell-you-what/propane.php:86

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
No tags were found

i-tell-you-what/propane.php 85% from 13 tests

This is the main PHP file of "I Tell You What" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 163 characters long)
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("i-tell-you-what.php" instead of "propane.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin95 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP181495

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.11
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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