99% wp-manage-order

Code Review | wp manage order

WordPress plugin wp manage order scored 99% from 54 tests.

About plugin

  • Plugin page: wp-manage-order
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-4.0
  • WordPress version: 5.8.1
  • First release: Mar 3, 2014
  • Latest release: Sep 8, 2014
  • Number of updates: 7
  • Update frequency: every 27.1 days
  • Top authors: sevy29 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 502 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

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

This is a short check of server-side resources used by wp manage order
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0136.50 ▲0.35
Dashboard /wp-admin3.07 ▲0.0153.42 ▲6.25
Posts /wp-admin/edit.php3.12 ▲0.0145.42 ▲2.37
Add New Post /wp-admin/post-new.php5.42 ▼0.0193.98 ▼560.21
Media Library /wp-admin/upload.php3.01 ▲0.0133.00 ▲2.15
Order options /wp-admin/options-general.php?page=order_options_setting3.0128.29

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

wp manage order: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,691 ▲9516.04 ▲0.4213.59 ▲3.9846.78 ▲0.85
Dashboard /wp-admin2,972 ▲386.10 ▲0.20141.37 ▼6.00115.80 ▼5.86
Posts /wp-admin/edit.php2,760 ▲212.77 ▲0.0567.97 ▼2.5287.15 ▼1.81
Add New Post /wp-admin/post-new.php1,681 ▲8718.88 ▲0.14384.53 ▼28.90103.71 ▼1.33
Media Library /wp-admin/upload.php1,818 ▲115.06 ▲0.02150.53 ▼1.79116.36 ▼6.73
Order options /wp-admin/options-general.php?page=order_options_setting1,1412.5655.6482.06

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
  • Screenshots: These screenshots require images: #1 (settings), #2 (Post/Custom Type)
The official readme.txt might help

wp-manage-order/manage-order.php 92% from 13 tests

The entry point to "wp manage order" version 1.1 is a PHP file that has certain tags in its header comment area
The following require your attention:
  • Main file name: The principal plugin file should be the same as the plugin slug ("wp-manage-order.php" instead of "manage-order.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected281 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP211525198
JavaScript111134
CSS15025
PO File14524

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.36
Average class complexity20.00
▷ Minimum class complexity20.00
▷ Maximum class complexity20.00
Average method complexity2.58
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods12
▷ Static methods00.00%
▷ Public methods12100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.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
2 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png14.30KB7.92KB▼ 44.59%
screenshot-2.png21.96KB10.84KB▼ 50.64%