80% webparex

Code Review | Webparex Courier Tracking

WordPress plugin Webparex Courier Tracking scored80%from 54 tests.

About plugin

  • Plugin page: webparex
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-6.1.1
  • WordPress version: 6.3.1
  • First release: Jul 25, 2022
  • Latest release: Dec 13, 2022
  • Number of updates: 4
  • Update frequency: every 36.0 days
  • Top authors: webparexapp (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /320 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▼0.95MB] [CPU: ▼36.44ms] Passed 4 tests

Analyzing server-side resources used by Webparex Courier Tracking
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.77 ▼1.24
Dashboard /wp-admin3.00 ▼0.3422.66 ▼33.79
Posts /wp-admin/edit.php3.00 ▼0.3625.83 ▼19.42
Add New Post /wp-admin/post-new.php3.00 ▼2.8925.13 ▼76.83
Media Library /wp-admin/upload.php3.00 ▼0.2320.65 ▼15.72

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 4 new files
Database: 1 new table, 7 new options
New tables
wp_webparex_config
New WordPress options
widget_recent-posts
widget_recent-comments
jal_db_version
widget_theysaidso_widget
db_upgraded
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for Webparex Courier Tracking
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,805 ▲4414.17 ▼0.121.71 ▲0.0442.69 ▼3.07
Dashboard /wp-admin2,214 ▲405.64 ▼0.1288.53 ▲1.5543.76 ▼0.95
Posts /wp-admin/edit.php2,116 ▲131.98 ▼0.0536.67 ▲1.8834.39 ▲2.51
Add New Post /wp-admin/post-new.php1,547 ▲1918.24 ▼4.78637.90 ▼31.9462.78 ▲6.18
Media Library /wp-admin/upload.php1,416 ▲194.18 ▲0.0195.59 ▼8.4342.94 ▼2.00

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • The plugin did not uninstall gracefully
    • > User deprecated in wp-includes/functions.php+5737
    Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
  • Zombie WordPress options were found after uninstall: 7 options
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • jal_db_version

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
  • Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6 in webparex/assets to your readme.txt
The official readme.txt might help

webparex/webparex.php Passed 13 tests

"Webparex Courier Tracking" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
60 characters long description:
17+ Carriers, Shipping Labels, Returns & Exchanges, NDR, RTO

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin292 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP34519292

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were 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%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin