Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.97ms] Passed 4 tests
Analyzing server-side resources used by Export Users for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.96 ▼2.43 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.00 ▼2.79 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.47 ▼14.34 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.55 ▼20.33 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.58 ▼0.32 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Export Users for WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲38 | 14.34 ▼0.38 | 1.83 ▲0.09 | 44.01 ▲1.34 |
Dashboard /wp-admin | 2,198 ▲18 | 5.62 ▲0.02 | 89.90 ▼1.88 | 38.42 ▼4.19 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.99 ▲0.01 | 40.88 ▲0.87 | 35.12 ▼4.31 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.24 ▲0.29 | 652.37 ▼13.39 | 52.87 ▼7.10 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.21 ▲0.08 | 102.23 ▼6.16 | 44.25 ▼1.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% 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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'PMUE_Model' not found in wp-content/plugins/export-wp-users-xml-csv/models/model/record.php:7
- > PHP Fatal error
Uncaught Error: Class 'PMUE_Controller' not found in wp-content/plugins/export-wp-users-xml-csv/controllers/controller/admin.php:7
- > PHP Fatal error
Uncaught Error: Class 'PMUE_Model' not found in wp-content/plugins/export-wp-users-xml-csv/models/model/list.php:7
- > PHP Notice
Undefined variable: errors in wp-content/plugins/export-wp-users-xml-csv/views/controller/error.php on line 1
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/export-wp-users-xml-csv/views/controller/error.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/export-wp-users-xml-csv/plugin.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
export-wp-users-xml-csv/plugin.php 92% from 13 tests
The main PHP file in "Export Users for WordPress" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("export-wp-users-xml-csv.php" instead of "plugin.php")
Code Analysis Passed 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
Everything looks great! No dangerous files found in this plugin3,441 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 217 | 289 | 1,715 |
PHP | 25 | 311 | 567 | 1,632 |
CSS | 1 | 18 | 0 | 94 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 17.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 119.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 3 | 17.65% |
▷ Concrete classes | 14 | 82.35% |
▷ Final classes | 2 | 14.29% |
Methods | 104 | |
▷ Static methods | 9 | 8.65% |
▷ Public methods | 89 | 85.58% |
▷ Protected methods | 10 | 9.62% |
▷ Private methods | 5 | 4.81% |
Functions | 8 | |
▷ Named functions | 6 | 75.00% |
▷ Anonymous functions | 2 | 25.00% |
Constants | 21 | |
▷ Global constants | 5 | 23.81% |
▷ Class constants | 16 | 76.19% |
▷ Public constants | 16 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
static/img/preloader.png | 15.60KB | 0.13KB | ▼ 99.17% |