89% shipping-rd

Code Review | Shipping RD

WordPress plugin Shipping RD scored89%from 54 tests.

About plugin

  • Plugin page: shipping-rd
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.4-5.5.0
  • WordPress version: 6.3.1
  • First release: Aug 25, 2020
  • Latest release: Aug 25, 2020
  • Number of updates: 11
  • Update frequency: every 0.9 days
  • Top authors: antonagency (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

20+ active /500 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

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

Server-side resources used by Shipping RD
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0141.64 ▼1.82
Dashboard /wp-admin3.31 ▲0.0147.88 ▼1.84
Posts /wp-admin/edit.php3.36 ▲0.0048.73 ▼3.57
Add New Post /wp-admin/post-new.php5.89 ▲0.0095.61 ▲2.70
Media Library /wp-admin/upload.php3.23 ▲0.0034.96 ▼3.32

Server storage [IO: ▲0.04MB] [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, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Shipping RD
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,796 ▲4614.23 ▼0.002.06 ▲0.4743.73 ▲0.16
Dashboard /wp-admin2,195 ▲185.62 ▼0.0294.98 ▼1.1439.07 ▼7.31
Posts /wp-admin/edit.php2,097 ▼32.03 ▲0.0135.37 ▼4.3433.15 ▼4.12
Add New Post /wp-admin/post-new.php1,531 ▲522.97 ▼0.30591.36 ▼115.1252.45 ▼8.31
Media Library /wp-admin/upload.php1,394 ▼64.21 ▼0.0495.26 ▼16.6843.59 ▼4.72

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded

Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
  • Contributors: The plugin contributors field is missing
  • Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6, #7 in shipping-rd/assets to your readme.txt
Please take inspiration from this readme.txt

shipping-rd/shipping-rd.php 92% from 13 tests

"Shipping RD" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected123 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP31160100
Markdown113023

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.32
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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin