90% wp-article-order

Code Review | WP Article Order

WordPress plugin WP Article Order scored90%from 54 tests.

About plugin

  • Plugin page: wp-article-order
  • Plugin version: 0.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3-4.7
  • WordPress version: 6.3.1
  • First release: Sep 8, 2015
  • Latest release: Nov 20, 2016
  • Number of updates: 7
  • Update frequency: every 62.7 days
  • Top authors: johnjamesjacoby (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,862 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: ▼0.54ms] Passed 4 tests

Analyzing server-side resources used by WP Article Order
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0140.78 ▲0.87
Dashboard /wp-admin3.31 ▲0.0148.35 ▼5.06
Posts /wp-admin/edit.php3.37 ▲0.0152.54 ▲2.59
Add New Post /wp-admin/post-new.php5.90 ▲0.0198.90 ▲5.98
Media Library /wp-admin/upload.php3.24 ▲0.0137.50 ▼0.55

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for WP Article Order
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲314.57 ▲0.191.72 ▼0.5941.54 ▼2.84
Dashboard /wp-admin2,198 ▲215.67 ▲0.0791.74 ▲2.8941.69 ▼1.77
Posts /wp-admin/edit.php2,097 ▼62.07 ▲0.0239.96 ▼2.7143.73 ▲6.42
Add New Post /wp-admin/post-new.php1,545 ▲1923.35 ▲5.82615.97 ▼41.7354.99 ▲0.85
Media Library /wp-admin/upload.php1,403 ▲34.23 ▼0.11103.39 ▼5.6746.21 ▲1.48

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
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • 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
The smoke test was a success, however most plugin functionality was not tested

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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: title, order, sort, grammar, article

wp-article-order/wp-article-order.php Passed 13 tests

The main file in "WP Article Order" v. 0.1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
39 characters long description:
Move articles to the end of post titles

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin39 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1194039

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.53
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%
Functions2
▷ Named functions2100.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