93% decode-reply-tool

Code Review | Decode Reply Tool

WordPress plugin Decode Reply Tool scored 93% from 53 tests.

About plugin

  • Plugin page: decode-reply-tool
  • Plugin version: 1.1.9
  • PHP version: 7.4.16
  • WordPress compatibility: 2.7-4.0
  • WordPress version: 5.8.1
  • First release: Jul 27, 2013
  • Latest release: Sep 4, 2014
  • Number of updates: 37
  • Update frequency: every 15.2 days
  • Top authors: ScottSmith (100%)

Code review

53 tests

User reviews

1 review

Install metrics

10+ active / 2,618 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

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

A check of server-side resources used by Decode Reply Tool
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.87 ▲0.1533.62 ▲13.71
Dashboard /wp-admin3.10 ▲0.0531.08 ▼7.21
Posts /wp-admin/edit.php3.15 ▲0.0551.35 ▲1.86
Add New Post /wp-admin/post-new.php5.46 ▲0.0488.08 ▼1,062.06
Media Library /wp-admin/upload.php3.04 ▲0.0431.29 ▼7.77
Decode Reply Tool /wp-admin/themes.php?page=decode_reply_tool3.0127.46

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Decode Reply Tool: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,677 ▲7115.73 ▲0.157.48 ▼0.5646.00 ▲2.16
Dashboard /wp-admin2,938 ▲885.93 ▲0.08150.20 ▲18.55109.50 ▲17.12
Posts /wp-admin/edit.php2,708 ▲22.68 ▼0.0176.08 ▲10.4590.46 ▼1.59
Add New Post /wp-admin/post-new.php1,486 ▲718.56 ▲1.63378.41 ▼14.09110.29 ▲2.11
Media Library /wp-admin/upload.php1,780 ▲85.03 ▲0.05151.54 ▼2.04118.31 ▲14.05
Decode Reply Tool /wp-admin/themes.php?page=decode_reply_tool1,0512.0955.9575.30

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

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 items
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/decode-reply-tool/reply-tool-insert.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/decode-reply-tool/reply-tool-loader.php:29

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found


Plugin configuration 90% from 29 tests

readme.txt 94% 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
These attributes need your attention:
  • Donate link: Please fix this invalid url: ""
You can take inspiration from this readme.txt

decode-reply-tool/reply-tool-loader.php 85% from 13 tests

The primary PHP file in "Decode Reply Tool" version 1.1.9 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("decode-reply-tool.php" instead of "reply-tool-loader.php")
  • Description: Keep the plugin description shorter than 140 characters (currently 199 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin383 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PO File34868157

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.47
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions16100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 1 test

Image compression Passed 1 test

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin