Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.12ms] Passed 4 tests
An overview of server-side resources used by Export User Data
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.72 ▼8.51 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.64 ▼0.19 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.14 ▼5.70 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 94.63 ▼2.08 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.10 ▲1.73 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 70 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Export User Data
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.24 ▼1.00 | 4.76 ▲2.95 | 42.45 ▲2.29 |
Dashboard /wp-admin | 2,197 ▲9 | 5.84 ▲0.97 | 98.50 ▼19.18 | 39.59 ▼4.38 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.05 ▲0.01 | 36.97 ▼4.38 | 36.94 ▲0.37 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.85 ▼5.66 | 599.53 ▼85.13 | 51.61 ▼0.92 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▲0.00 | 97.39 ▼11.67 | 42.05 ▼2.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 6× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/export-user-data/vendor/PHP_XLSXWriter/examples/ex05-numbers-250k-rows.php
- > /wp-content/plugins/export-user-data/vendor/PHP_XLSXWriter/examples/ex06-strings-250k-rows.php
- > /wp-content/plugins/export-user-data/vendor/PHP_XLSXWriter/examples/ex02-formats.php
- > /wp-content/plugins/export-user-data/vendor/PHP_XLSXWriter/example.php
- > /wp-content/plugins/export-user-data/vendor/PHP_XLSXWriter/examples/ex09-autofilter.php
- > /wp-content/plugins/export-user-data/vendor/PHP_XLSXWriter/examples/ex10-freeze-rows-columns.php
- 15× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type int in wp-content/plugins/export-user-data/vendor/PHP_XLSXWriter/xlsxwriter.class.php on line 804
- > PHP Notice
Trying to access array offset on value of type int in wp-content/plugins/export-user-data/vendor/PHP_XLSXWriter/xlsxwriter.class.php on line 804
- > PHP Notice
Trying to access array offset on value of type int in wp-content/plugins/export-user-data/vendor/PHP_XLSXWriter/xlsxwriter.class.php on line 804
- > PHP Notice
Trying to access array offset on value of type int in wp-content/plugins/export-user-data/vendor/PHP_XLSXWriter/xlsxwriter.class.php on line 804
- > PHP Notice
Trying to access array offset on value of type int in wp-content/plugins/export-user-data/vendor/PHP_XLSXWriter/xlsxwriter.class.php on line 804
- > PHP Notice
Trying to access array offset on value of type int in wp-content/plugins/export-user-data/vendor/PHP_XLSXWriter/xlsxwriter.class.php on line 804
- > PHP Notice
Trying to access array offset on value of type int in wp-content/plugins/export-user-data/vendor/PHP_XLSXWriter/xlsxwriter.class.php on line 804
- > PHP Notice
Trying to access array offset on value of type int in wp-content/plugins/export-user-data/vendor/PHP_XLSXWriter/xlsxwriter.class.php on line 804
- > PHP Warning
include_once(wp-content/plugins/export-user-data/vendor/PHP_XLSXWriter/testbench/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/export-user-data/vendor/PHP_XLSXWriter/testbench/xlsxwriter.class.Test.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'XLSXWriter' not found in wp-content/plugins/export-user-data/vendor/PHP_XLSXWriter/testbench/xlsxwriter.class.Test.php:9
- > PHP Notice
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 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (Example of Admin Export View) image not found
export-user-data/export-user-data.php 92% from 13 tests
Analyzing the main PHP file in "Export User Data" version 2.2.6
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected5,498 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 31 | 967 | 696 | 2,817 |
CSS | 2 | 379 | 176 | 1,588 |
PO File | 4 | 132 | 132 | 393 |
JavaScript | 1 | 74 | 16 | 380 |
Markdown | 3 | 90 | 0 | 241 |
Bourne Shell | 2 | 3 | 1 | 43 |
JSON | 3 | 1 | 0 | 36 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 33.77 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 202.00 |
Average method complexity | 4.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 1 | 7.69% |
Methods | 106 | |
▷ Static methods | 38 | 35.85% |
▷ Public methods | 86 | 81.13% |
▷ Protected methods | 14 | 13.21% |
▷ Private methods | 6 | 5.66% |
Functions | 7 | |
▷ Named functions | 1 | 14.29% |
▷ Anonymous functions | 6 | 85.71% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
12 PNG files occupy 0.14MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
library/admin/css/image/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
library/admin/css/image/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
screenshot-1.png | 134.21KB | 51.27KB | ▼ 61.80% |
library/admin/css/image/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
library/admin/css/image/switch.png | 3.01KB | 0.64KB | ▼ 78.70% |