94% fix-quotreplyquot-comment-button

Code Review | Fix "Reply" Comment Button

WordPress plugin Fix "Reply" Comment Button scored 94% from 53 tests.

About plugin

  • Plugin page: fix-quotreplyquot...
  • Plugin version: 0.1
  • PHP compatiblity: 5.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.1-5.3
  • WordPress version: 5.8.1
  • First release: Jun 12, 2019
  • Latest release: Jun 12, 2019
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: Znuff (100%)

Code review

53 tests

User reviews

1 review

Install metrics

10+ active / 284 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

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

An overview of server-side resources used by Fix "Reply" Comment Button
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1232.72 ▲11.96
Dashboard /wp-admin3.06 ▲0.0141.77 ▲0.48
Posts /wp-admin/edit.php3.11 ▲0.0141.82 ▲1.49
Add New Post /wp-admin/post-new.php5.42 ▼0.01102.29 ▼1,074.29
Media Library /wp-admin/upload.php3.00 ▼0.0030.42 ▼9.99

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Fix "Reply" Comment Button
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,681 ▲9915.86 ▲0.148.16 ▼0.2447.98 ▼0.65
Dashboard /wp-admin2,927 ▲746.07 ▲0.22168.87 ▲23.30114.77 ▲10.44
Posts /wp-admin/edit.php2,709 ▲32.69 ▼0.0069.42 ▲4.74100.85 ▲5.99
Add New Post /wp-admin/post-new.php1,658 ▲516.43 ▼2.10358.83 ▼23.16118.38 ▲13.77
Media Library /wp-admin/upload.php1,775 ▲65.01 ▲0.02184.40 ▲30.78118.17 ▼9.46

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fix-quotreplyquot-comment-button/plugin.php:19

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

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: event, touchstart, fix, reply, passive...

fix-quotreplyquot-comment-button/plugin.php 85% from 13 tests

The main file in "Fix "Reply" Comment Button" v. 0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("fix-quotreplyquot-comment-button.php" instead of "plugin.php")
  • Description: The description should be shorter than 140 characters (currently 159 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected8 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP12107
JavaScript1001

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 1 test

Image compression Passed 1 test

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin