Benchmarks
Plugin footprint 83% 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: ▲0.03MB] [CPU: ▲2.34ms] Passed 4 tests
Analyzing server-side resources used by Export Users Data to CSV
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 45.93 ▲6.21 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.76 ▼1.24 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.60 ▲4.89 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 97.15 ▲6.97 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.88 ▼0.49 |
User Data to CSV /wp-admin/users.php?page=users-data-to-csv | 3.28 | 29.19 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Export Users Data to CSV
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.59 ▼0.97 | 1.67 ▼0.05 | 37.96 ▼9.89 |
Dashboard /wp-admin | 2,207 ▲19 | 5.78 ▼0.12 | 97.03 ▼4.97 | 41.06 ▼4.33 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.01 | 39.50 ▲2.82 | 34.38 ▲1.79 |
Add New Post /wp-admin/post-new.php | 1,517 ▼4 | 17.41 ▼5.73 | 582.92 ▼82.44 | 58.41 ▲6.32 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▲0.02 | 95.24 ▼4.79 | 40.62 ▼2.43 |
User Data to CSV /wp-admin/users.php?page=users-data-to-csv | 917 | 2.02 | 27.95 | 23.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/users.php?page=users-data-to-csv
- > Notice in wp-content/plugins/export-users-data-to-csv/users-data-to-csv.php+132
Undefined index: start
- > GET request to /wp-admin/users.php?page=users-data-to-csv
- > Notice in wp-content/plugins/export-users-data-to-csv/users-data-to-csv.php+134
Undefined index: end
SRP 50% 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/export-users-data-to-csv/users-data-to-csv.php:20
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: export data, admin, users data, users, exporter...
export-users-data-to-csv/users-data-to-csv.php 92% from 13 tests
Analyzing the main PHP file in "Export Users Data to CSV" version 1.0.0
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("export-users-data-to-csv.php" instead of "users-data-to-csv.php")
Code Analysis Passed 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 plugin137 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 34 | 26 | 137 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 3.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 14.29% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin