Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.72ms] Passed 4 tests
Server-side resources used by Import User Meta Data from CSV
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 42.85 ▲2.37 |
Dashboard /wp-admin | 3.36 ▲0.06 | 51.27 ▲0.86 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 50.72 ▼5.11 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 90.08 ▼16.99 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 41.86 ▲3.00 |
Add Metadata /wp-admin/users.php?page=add-user-metadata | 3.33 | 35.51 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Import User Meta Data from CSV
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.59 ▼1.01 | 1.75 ▲0.15 | 44.37 ▲2.95 |
Dashboard /wp-admin | 2,228 ▲34 | 4.84 ▼1.03 | 131.31 ▲20.24 | 39.34 ▼10.46 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▼0.03 | 39.78 ▼0.34 | 35.70 ▼3.07 |
Add New Post /wp-admin/post-new.php | 1,550 ▲9 | 22.92 ▲4.64 | 663.64 ▲39.51 | 59.03 ▲5.93 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.15 ▼0.14 | 111.76 ▲6.42 | 46.45 ▲0.93 |
Add Metadata /wp-admin/users.php?page=add-user-metadata | 905 | 2.09 | 22.98 | 27.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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: Screenshot #1 (Add Metadata screen) image required
add-user-metadata/add-user-metadata.php 92% from 13 tests
The principal PHP file in "Import User Meta Data from CSV" v. 0.5.2 is loaded by WordPress automatically on each request
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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 plugin428 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 220 | 163 | 338 |
PO File | 1 | 23 | 23 | 72 |
JSON | 2 | 0 | 0 | 18 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 40.00 |
▷ Minimum class complexity | 40.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 4.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 12 | |
▷ Static methods | 4 | 33.33% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/close.png | 0.26KB | 0.35KB | 0.00% |
screenshot-1.png | 22.25KB | 10.53KB | ▼ 52.68% |