99% action-runner

Code Review | Action Runner by The Rite Sites

WordPress plugin Action Runner by The Rite Sites scored 99% from 54 tests.

About plugin

  • Plugin page: action-runner
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.6
  • WordPress version: 5.9.2
  • First release: Nov 25, 2020
  • Latest release: Nov 25, 2020
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: theritesites (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 220 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▼0.02MB] [CPU: ▼292.93ms] Passed 4 tests

Server-side resources used by Action Runner by The Rite Sites
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0153.50 ▲4.65
Dashboard /wp-admin3.42 ▲0.0132.50 ▼2.11
Posts /wp-admin/edit.php3.65 ▲0.0136.43 ▼0.43
Add New Post /wp-admin/post-new.php6.92 ▼0.0894.48 ▼1,164.73
Media Library /wp-admin/upload.php3.30 ▼0.0025.19 ▼4.45

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Action Runner by The Rite Sites
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,763 ▲2115.89 ▲0.235.58 ▼0.482.38 ▲0.27
Dashboard /wp-admin2,885 ▲276.15 ▼0.14119.27 ▼14.85153.58 ▼10.14
Posts /wp-admin/edit.php2,694 ▼03.23 ▼0.0062.18 ▼2.59136.30 ▼5.82
Add New Post /wp-admin/post-new.php1,760 ▲4322.79 ▲1.00416.04 ▼10.22151.57 ▲3.14
Media Library /wp-admin/upload.php1,698 ▼35.50 ▼0.00138.84 ▲2.22183.06 ▼4.23

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
Uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side


Plugin configuration 86% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
  • Requires php: Invalid plugin version format
Please take inspiration from this readme.txt

action-runner/action-runner-by-the-rite-sites.php 77% from 13 tests

Analyzing the main PHP file in "Action Runner by The Rite Sites" version 1.0.0
Please take the time to fix the following:
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
  • Domain Path: The domain path points to an invalid folder, "/languages" does not exist
  • Main file name: Name the main plugin file the same as the plugin slug ("action-runner.php" instead of "action-runner-by-the-rite-sites.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected119 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.49
Average class complexity5.75
▷ Minimum class complexity1.00
▷ Maximum class complexity9.00
Average method complexity2.58
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes125.00%
▷ Static methods18.33%
▷ Public methods866.67%
▷ Protected methods00.00%
▷ Private methods433.33%
▷ Named functions2100.00%
▷ Anonymous functions00.00%
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected