84% wp-reliablemd

Code Review | WP-ReliableMD

WordPress plugin WP-ReliableMD scored84%from 54 tests.

About plugin

  • Plugin page: wp-reliablemd
  • Plugin version: 0.11-dev...
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.9
  • WordPress version: 6.3.1
  • First release: Apr 29, 2019
  • Latest release: Apr 8, 2022
  • Number of updates: 22
  • Update frequency: every 48.9 days
  • Top authors: jackworkshop (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,176 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

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

Server-side resources used by WP-ReliableMD
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0138.93 ▼4.58
Dashboard /wp-admin3.31 ▲0.0150.00 ▼3.06
Posts /wp-admin/edit.php3.37 ▲0.0148.42 ▲1.64
Add New Post /wp-admin/post-new.php5.89 ▲0.0189.02 ▼9.89
Media Library /wp-admin/upload.php3.24 ▲0.0135.91 ▲0.51

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 68 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for WP-ReliableMD
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,991 ▲23014.28 ▲0.101.84 ▼0.5343.63 ▼0.61
Dashboard /wp-admin2,365 ▲1855.63 ▲0.1086.37 ▼17.8641.25 ▼2.39
Posts /wp-admin/edit.php2,234 ▲1312.01 ▼0.0037.69 ▲0.4434.82 ▲2.17
Add New Post /wp-admin/post-new.php6,372 ▲4,84629.89 ▲6.831,345.61 ▲709.4152.30 ▲3.57
Media Library /wp-admin/upload.php1,600 ▲2004.39 ▲0.1993.22 ▼10.2341.67 ▼2.66

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

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
Please fix the following
  • 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/wp-reliablemd/wp-reliablemd.php:35

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: tui-editor, markdown edit, markdown, wp reliablemd, wordpress...

wp-reliablemd/wp-reliablemd.php 85% from 13 tests

"WP-ReliableMD" version 0.11-dev...'s main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
  • Version: The version number should be digits and periods (ex. "1.0.3" instead of "0.11-dev...")
  • Text Domain: Please use dashes and lowercase characters for text domains

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 plugin3,094 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
CSS1359713,006
Markdown227048
PHP231122
JSON10017
JavaScript1001

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
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 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