62% wp-all-export

Code Review | Export any WordPress data to XML/CSV

WordPress plugin Export any WordPress data to XML/CSV scored62%from 54 tests.

About plugin

  • Plugin page: wp-all-export
  • Plugin version: 1.4.1
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4
  • WordPress version: 6.3.1
  • First release: Jan 10, 2014
  • Latest release: Nov 13, 2023
  • Number of updates: 130
  • Update frequency: every 27.7 days
  • Top authors: soflyy (100%)

Code review

54 tests

User reviews

366 reviews

Install metrics

90,000+ active /1,912,593 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲1.10MB] [CPU: ▲3.02ms] Passed 4 tests

Analyzing server-side resources used by Export any WordPress data to XML/CSV
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /4.54 ▲1.0744.09 ▲1.28
Dashboard /wp-admin4.43 ▲1.0863.11 ▼0.00
Posts /wp-admin/edit.php4.48 ▲1.1262.18 ▲16.47
Add New Post /wp-admin/post-new.php7.01 ▲1.1293.00 ▼5.66
Media Library /wp-admin/upload.php4.36 ▲1.1253.40 ▲18.32
New Export /wp-admin/admin.php?page=pmxe-admin-export4.4244.02
Settings /wp-admin/admin.php?page=pmxe-admin-settings4.6550.21
Manage Exports /wp-admin/admin.php?page=pmxe-admin-manage4.7852.20

Server storage [IO: ▲5.59MB] [DB: ▲0.29MB] Passed 3 tests

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 348 new files
Database: 4 new tables, 9 new options
New tables
wp_pmxe_posts
wp_pmxe_exports
wp_pmxe_templates
wp_pmxe_google_cats
New WordPress options
widget_recent-comments
PMXE_Plugin_Options
wp_all_export_free_db_version
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
wp_all_export_free_addons_not_included
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Export any WordPress data to XML/CSV
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,868 ▲9614.66 ▲0.281.80 ▼0.0843.25 ▼1.40
Dashboard /wp-admin2,251 ▲746.00 ▲0.35129.95 ▲26.6641.72 ▼5.99
Posts /wp-admin/edit.php2,155 ▲553.35 ▲1.3573.78 ▲36.0137.94 ▲4.27
Add New Post /wp-admin/post-new.php1,558 ▲2324.41 ▲1.33662.88 ▼22.6647.86 ▼7.16
Media Library /wp-admin/upload.php1,457 ▲545.04 ▲0.80137.62 ▲38.6141.84 ▼3.60
New Export /wp-admin/admin.php?page=pmxe-admin-export1,7725.29106.4338.33
Settings /wp-admin/admin.php?page=pmxe-admin-settings1,6254.9890.8451.04
Manage Exports /wp-admin/admin.php?page=pmxe-admin-manage1,3744.4347.0429.44

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • The plugin did not uninstall successfully, leaving 4 tables in the database
    • wp_pmxe_posts
    • wp_pmxe_templates
    • wp_pmxe_google_cats
    • wp_pmxe_exports
  • This plugin does not fully uninstall, leaving 9 options in the database
    • PMXE_Plugin_Options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • wp_all_export_free_db_version
    • theysaidso_admin_options
    • widget_recent-comments
    • wp_all_export_free_addons_not_included
    • widget_theysaidso_widget

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
    • > GET request to /wp-admin/admin.php?page=pmxe-admin-export
    • > Warning in wp-content/plugins/wp-all-export/controllers/admin/export.php+121
    unlink(wp-content/plugins/wp-all-export/history/.): Is a directory
    • > GET request to /wp-admin/admin.php?page=pmxe-admin-export
    • > Warning in wp-content/plugins/wp-all-export/controllers/admin/export.php+121
    unlink(wp-content/plugins/wp-all-export/history/..): Is a directory

SRP 0% from 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
Please fix the following items
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/wp-all-export/views/admin/export/template/add_new_field.php
  • 43× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Interface 'Wpae\\Pro\\Filtering\\FilteringInterface' not found in wp-content/plugins/wp-all-export/src/Pro/Filtering/FilteringBase.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Wpae\\WordPress\\AdminNotice' not found in wp-content/plugins/wp-all-export/src/WordPress/AdminErrorNotice.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wp-all-export/src/Scheduling/views/ManualScheduling.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'PMXE_Session' not found in wp-content/plugins/wp-all-export/classes/handler.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'WpaePhpInterpreterErrorHandler' not found in wp-content/plugins/wp-all-export/classes/XMLWriter.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wp-all-export/views/admin/export/template/custom_xml_help.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wp-all-export/views/admin/export/template/add_new_field.php:116
    • > PHP Fatal error
      Uncaught Error: Class 'PMXE_Model_List' not found in wp-content/plugins/wp-all-export/models/post/list.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Wpae\\Pro\\Filtering\\FilteringBase' not found in wp-content/plugins/wp-all-export/src/Pro/Filtering/FilteringCustom.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Wpae\\Controller\\BaseController' not found in wp-content/plugins/wp-all-export/src/App/UnsecuredController/SchedulingController.php:13

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)
No browser errors were detected

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
  • Tags: You are using too many tags: 21 tag instead of maximum 10
You can look at the official readme.txt

wp-all-export/wp-all-export.php Passed 13 tests

The main PHP script in "Export any WordPress data to XML/CSV" version 1.4.1 is automatically included on every request by WordPress
115 characters long description:
Export any post type to a CSV or XML file. Edit the exported data, and then re-import it later using WP All Import.

Code Analysis 97% from 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 detected68,944 lines of code in 255 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript175,93322,84528,609
PHP2054,4792,21927,068
CSS134814767,014
PO File72,8913,8575,921
Sass1260167
SVG1131147
XML10018

PHP code 50% from 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
The following items need your attention
  • Please reduce cyclomatic complexity of methods to less than 100 (currently 168)
Cyclomatic complexity
Average complexity per logical line of code0.50
Average class complexity21.69
▷ Minimum class complexity1.00
▷ Maximum class complexity231.00
Average method complexity5.38
▷ Minimum method complexity1.00
▷ Maximum method complexity168.00
Code structure
Namespaces21
Interfaces3
Traits0
Classes105
▷ Abstract classes76.67%
▷ Concrete classes9893.33%
▷ Final classes1111.22%
Methods502
▷ Static methods8917.73%
▷ Public methods40981.47%
▷ Protected methods305.98%
▷ Private methods6312.55%
Functions85
▷ Named functions8195.29%
▷ Anonymous functions44.71%
Constants59
▷ Global constants1118.64%
▷ Class constants4881.36%
▷ Public constants48100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
66 PNG files occupy 0.44MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
static/js/jquery/css/smoothness/images/ui-icons_2e83ff_256x240.png4.27KB4.11KB▼ 3.78%
static/js/jquery/css/smoothness/images/ui-icons_cd0a0a_256x240.png4.27KB4.11KB▼ 3.78%
static/img/loading.png33.01KB1.41KB▼ 95.72%
static/img/elements.png5.13KB2.59KB▼ 49.45%
static/js/jquery/css/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png0.38KB0.18KB▼ 51.29%