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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.54 ▲1.07 | 44.09 ▲1.28 |
Dashboard /wp-admin | 4.43 ▲1.08 | 63.11 ▼0.00 |
Posts /wp-admin/edit.php | 4.48 ▲1.12 | 62.18 ▲16.47 |
Add New Post /wp-admin/post-new.php | 7.01 ▲1.12 | 93.00 ▼5.66 |
Media Library /wp-admin/upload.php | 4.36 ▲1.12 | 53.40 ▲18.32 |
New Export /wp-admin/admin.php?page=pmxe-admin-export | 4.42 | 44.02 |
Settings /wp-admin/admin.php?page=pmxe-admin-settings | 4.65 | 50.21 |
Manage Exports /wp-admin/admin.php?page=pmxe-admin-manage | 4.78 | 52.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,868 ▲96 | 14.66 ▲0.28 | 1.80 ▼0.08 | 43.25 ▼1.40 |
Dashboard /wp-admin | 2,251 ▲74 | 6.00 ▲0.35 | 129.95 ▲26.66 | 41.72 ▼5.99 |
Posts /wp-admin/edit.php | 2,155 ▲55 | 3.35 ▲1.35 | 73.78 ▲36.01 | 37.94 ▲4.27 |
Add New Post /wp-admin/post-new.php | 1,558 ▲23 | 24.41 ▲1.33 | 662.88 ▼22.66 | 47.86 ▼7.16 |
Media Library /wp-admin/upload.php | 1,457 ▲54 | 5.04 ▲0.80 | 137.62 ▲38.61 | 41.84 ▼3.60 |
New Export /wp-admin/admin.php?page=pmxe-admin-export | 1,772 | 5.29 | 106.43 | 38.33 |
Settings /wp-admin/admin.php?page=pmxe-admin-settings | 1,625 | 4.98 | 90.84 | 51.04 |
Manage Exports /wp-admin/admin.php?page=pmxe-admin-manage | 1,374 | 4.43 | 47.04 | 29.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
- > PHP Fatal error
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
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 17 | 5,933 | 22,845 | 28,609 |
PHP | 205 | 4,479 | 2,219 | 27,068 |
CSS | 13 | 481 | 476 | 7,014 |
PO File | 7 | 2,891 | 3,857 | 5,921 |
Sass | 1 | 26 | 0 | 167 |
SVG | 11 | 3 | 1 | 147 |
XML | 1 | 0 | 0 | 18 |
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 code | 0.50 |
Average class complexity | 21.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 231.00 |
Average method complexity | 5.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 168.00 |
Code structure | ||
---|---|---|
Namespaces | 21 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 105 | |
▷ Abstract classes | 7 | 6.67% |
▷ Concrete classes | 98 | 93.33% |
▷ Final classes | 11 | 11.22% |
Methods | 502 | |
▷ Static methods | 89 | 17.73% |
▷ Public methods | 409 | 81.47% |
▷ Protected methods | 30 | 5.98% |
▷ Private methods | 63 | 12.55% |
Functions | 85 | |
▷ Named functions | 81 | 95.29% |
▷ Anonymous functions | 4 | 4.71% |
Constants | 59 | |
▷ Global constants | 11 | 18.64% |
▷ Class constants | 48 | 81.36% |
▷ Public constants | 48 | 100.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 | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
static/js/jquery/css/smoothness/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
static/js/jquery/css/smoothness/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
static/img/loading.png | 33.01KB | 1.41KB | ▼ 95.72% |
static/img/elements.png | 5.13KB | 2.59KB | ▼ 49.45% |
static/js/jquery/css/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png | 0.38KB | 0.18KB | ▼ 51.29% |