Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼1.46MB] [CPU: ▼334.63ms] Passed 4 tests
This is a short check of server-side resources used by Advacne WP User Export/Import
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.98 ▼0.53 | 15.89 ▼37.22 |
Dashboard /wp-admin | 2.90 ▼0.50 | 14.04 ▼20.26 |
Posts /wp-admin/edit.php | 2.90 ▼0.73 | 14.38 ▼23.60 |
Add New Post /wp-admin/post-new.php | 2.90 ▼4.07 | 14.29 ▼1,257.43 |
Media Library /wp-admin/upload.php | 2.90 ▼0.39 | 12.99 ▼10.46 |
Server storage [IO: ▲0.26MB] [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: 12 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Advacne WP User Export/Import
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,800 ▲46 | 15.91 ▲0.26 | 5.72 ▼1.32 | 2.46 ▲0.07 |
Dashboard /wp-admin | 2,904 ▲46 | 6.15 ▼0.02 | 121.27 ▼15.98 | 157.81 ▼9.52 |
Posts /wp-admin/edit.php | 2,703 ▲9 | 3.24 ▼0.00 | 62.65 ▼1.36 | 140.67 ▼2.93 |
Add New Post /wp-admin/post-new.php | 1,671 ▲10 | 16.08 ▼6.39 | 416.99 ▼10.65 | 155.14 ▼12.47 |
Media Library /wp-admin/upload.php | 1,713 ▲15 | 5.48 ▼0.05 | 141.39 ▼3.68 | 184.78 ▼5.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/advance-wp-user-exportimport/main/classes/ADVANCEWPUSERAdmin.class.php+9
Undefined index: _wpnonce
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/advance-wp-user-exportimport/index.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: user, export user, export meta, import user
advance-wp-user-exportimport/index.php 69% from 13 tests
This is the main PHP file of "Advacne WP User Export/Import" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Requires at least: The required version number must match the one declared in readme.txt ("4.0" instead of "5.2")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("advance-wp-user-exportimport.php" instead of "index.php")
- Requires PHP: Periods and digits should be used for the required version number (ex. "7.0" instead of "7.0.")
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
Success! There were no dangerous files found in this plugin1,953 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 41 | 48 | 1,222 |
PHP | 6 | 28 | 28 | 723 |
JavaScript | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin