Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.89ms] Passed 4 tests
This is a short check of server-side resources used by Simple User Import Export
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.03 | 34.95 ▼5.83 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.34 ▼0.12 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.09 ▲1.91 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 95.65 ▲10.20 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.74 ▲0.49 |
Server storage [IO: ▲1.33MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 72 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Simple User Import Export
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 13.31 ▼1.08 | 1.62 ▼0.38 | 40.64 ▼1.26 |
Dashboard /wp-admin | 2,219 ▲31 | 4.90 ▼0.14 | 111.80 ▼7.52 | 41.62 ▼4.54 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.06 ▲0.05 | 44.10 ▲3.99 | 35.66 ▲0.19 |
Add New Post /wp-admin/post-new.php | 1,548 ▲14 | 23.16 ▲0.06 | 578.67 ▼63.07 | 51.66 ▼10.84 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.14 ▼0.09 | 98.91 ▼1.28 | 44.15 ▼1.85 |
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 detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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 items
- 3× 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/a3-user-importer/file/download.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/a3-user-importer/ajax/ajax.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/a3-user-importer/a3-user-importer.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #10, #11, #12, #7, #8, #9 in a3-user-importer/assets to your readme.txt
a3-user-importer/a3-user-importer.php Passed 13 tests
"Simple User Import Export" version 1.1.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
48 characters long description:
Import WordPress and WooCommerce users with ease
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin8,401 lines of code in 63 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Svelte | 27 | 659 | 0 | 4,233 |
JSON | 2 | 0 | 0 | 2,685 |
JavaScript | 20 | 152 | 69 | 649 |
PHP | 9 | 191 | 99 | 531 |
HTML | 2 | 530 | 3,377 | 160 |
CSS | 2 | 11 | 3 | 76 |
Markdown | 1 | 42 | 0 | 67 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 33 | |
▷ Named functions | 30 | 90.91% |
▷ Anonymous functions | 3 | 9.09% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
static/PayPal-h45.png | 6.81KB | 2.54KB | ▼ 62.64% |
a3-svelte-importer/public/favicon.png | 3.05KB | 1.47KB | ▼ 51.87% |