89% wp-ultimate-exporter

Code Review | Export All Posts, Products, Orders, Refunds & Users

WordPress plugin Export All Posts, Products, Orders, Refunds & Users scored89%from 54 tests.

About plugin

  • Plugin page: wp-ultimate-exporter
  • Plugin version: 2.4.1
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4.1
  • WordPress version: 6.3.1
  • First release: Jan 13, 2016
  • Latest release: Nov 17, 2023
  • Number of updates: 80
  • Update frequency: every 35.8 days
  • Top authors: smackcoders (100%)

Code review

54 tests

User reviews

12 reviews

Install metrics

10,000+ active /243,027 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.36MB] [CPU: ▲0.39ms] Passed 4 tests

A check of server-side resources used by Export All Posts, Products, Orders, Refunds & Users
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.82 ▲0.3639.17 ▼0.26
Dashboard /wp-admin3.66 ▲0.3645.50 ▼3.11
Posts /wp-admin/edit.php3.78 ▲0.4250.72 ▲2.82
Add New Post /wp-admin/post-new.php6.25 ▲0.3689.21 ▲2.10
Media Library /wp-admin/upload.php3.59 ▲0.3635.57 ▲6.68

Server storage [IO: ▲0.71MB] [DB: ▲0.07MB] Passed 3 tests

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

Browser metrics Passed 4 tests

Checking browser requirements for Export All Posts, Products, Orders, Refunds & Users
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,832 ▲7014.22 ▼0.132.05 ▲0.4240.72 ▼2.85
Dashboard /wp-admin2,215 ▲385.61 ▼0.0292.79 ▼6.4339.88 ▼3.44
Posts /wp-admin/edit.php2,118 ▲151.99 ▲0.0241.58 ▲5.0137.30 ▲3.25
Add New Post /wp-admin/post-new.php1,538 ▲1221.04 ▼2.53651.25 ▼20.5059.35 ▲10.18
Media Library /wp-admin/upload.php1,420 ▲204.21 ▲0.0598.63 ▲0.9340.85 ▼0.50

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
  • Screenshots: These screenshots require images: #1 (Module selection view in the Exporter Plugin.), #2 (Export data with specific delimiters.), #3 (Export data uploaded within a specific period.), #4 (Perform Status-based CSV export.), #5 (Export files published by a particular author.), #6 (Select and export specific fields of any Post type.)
  • Tags: You are using too many tags: 14 tag instead of maximum 10
You can take inspiration from this readme.txt

wp-ultimate-exporter/wp-ultimate-exporter.php 85% from 13 tests

The principal PHP file in "Export All Posts, Products, Orders, Refunds & Users" v. 2.4.1 is loaded by WordPress automatically on each request
The following require your attention:
  • Description: Keep the plugin description shorter than 140 characters (currently 179 characters long)
  • Domain Path: The domain path folder was not found ("/languages")

Code Analysis 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin5,249 lines of code in 14 files:
LanguageFilesBlank linesComment linesLines of code
PHP135814025,040
Markdown11550209

PHP code 50% from 2 tests

A short review of cyclomatic complexity and code structure
Please tend to the following items
  • Cyclomatic complexity of methods has to be reduced to less than 100 (currently 147)
Cyclomatic complexity
Average complexity per logical line of code0.49
Average class complexity93.50
▷ Minimum class complexity2.00
▷ Maximum class complexity500.00
Average method complexity10.82
▷ Minimum method complexity1.00
▷ Maximum method complexity147.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes12
▷ Abstract classes00.00%
▷ Concrete classes12100.00%
▷ Final classes00.00%
Methods113
▷ Static methods1311.50%
▷ Public methods113100.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
6 PNG files occupy 0.39MB with 0.24MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-6.png59.05KB27.31KB▼ 53.75%
screenshot-4.png40.06KB18.76KB▼ 53.18%
screenshot-5.png37.47KB17.58KB▼ 53.08%
screenshot-3.png77.50KB20.77KB▼ 73.20%
screenshot-1.png89.20KB24.71KB▼ 72.30%