89% quiver-delivery

Code Review | Quiver Delivery

WordPress plugin Quiver Delivery scored89%from 54 tests.

About plugin

  • Plugin page: quiver-delivery
  • Plugin version: 1.0.16
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.0
  • WordPress version: 6.3.1
  • First release: Nov 4, 2021
  • Latest release: Jul 31, 2023
  • Number of updates: 34
  • Update frequency: every 18.7 days
  • Top authors: louiscollarsmith (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,080 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
This plugin's installer ran successfully

Server metrics [RAM: ▼0.17MB] [CPU: ▼11.81ms] Passed 4 tests

A check of server-side resources used by Quiver Delivery
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0067.29 ▲29.57
Dashboard /wp-admin3.20 ▼0.1130.80 ▼13.45
Posts /wp-admin/edit.php3.26 ▼0.0937.46 ▼11.91
Add New Post /wp-admin/post-new.php5.44 ▼0.4575.69 ▼24.39
Media Library /wp-admin/upload.php3.20 ▼0.0336.21 ▲2.52

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
can_compress_scripts
theysaidso_admin_options
widget_recent-posts
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by Quiver Delivery
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲7914.40 ▼0.052.54 ▲0.7548.89 ▲8.78
Dashboard /wp-admin2,203 ▲125.83 ▼0.0795.80 ▼13.1440.42 ▲0.40
Posts /wp-admin/edit.php2,092 ▲32.00 ▲0.0140.26 ▼0.9535.97 ▼2.10
Add New Post /wp-admin/post-new.php1,542 ▲2818.41 ▼5.13590.28 ▼23.7150.43 ▼2.18
Media Library /wp-admin/upload.php1,388 ▲34.27 ▲0.0498.48 ▼3.7242.59 ▼0.18

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget

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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% 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
Attributes that need to be fixed:
  • Donate link: Please fix this invalid URI: ""
  • Screenshots: These screenshots lack descriptions #2, #3, #4, #5 in quiver-delivery/assets to your readme.txt
Please take inspiration from this readme.txt

quiver-delivery/quiver-delivery.php 92% from 13 tests

"Quiver Delivery" version 1.0.16's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Domain Path: The domain path folder was not found ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected507 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP382107422
Markdown156085

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity18.00
▷ Minimum class complexity1.00
▷ Maximum class complexity49.00
Average method complexity2.76
▷ Minimum method complexity1.00
▷ Maximum method complexity19.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods29
▷ Static methods13.45%
▷ Public methods1655.17%
▷ Protected methods13.45%
▷ Private methods1241.38%
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
No PNG images were found in this plugin