Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼6.43ms] Passed 4 tests
Server-side resources used by WPRS Data Transporter
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 36.88 ▼2.41 |
Dashboard /wp-admin | 3.37 ▲0.07 | 47.00 ▼5.99 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 48.74 ▲2.72 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 83.40 ▼14.26 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.55 ▼3.05 |
WPRS Data Transport /wp-admin/tools.php?page=wprsdt | 3.24 | 29.77 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WPRS Data Transporter
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.31 ▼0.04 | 1.77 ▲0.18 | 41.28 ▲0.86 |
Dashboard /wp-admin | 2,196 ▲16 | 5.63 ▼0.21 | 87.48 ▼8.77 | 41.37 ▲2.02 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.99 ▲0.02 | 36.32 ▼1.44 | 35.77 ▼0.35 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.64 ▲0.69 | 646.49 ▼29.75 | 57.75 ▲4.42 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.23 ▲0.08 | 101.67 ▼0.03 | 44.73 ▲3.04 |
WPRS Data Transport /wp-admin/tools.php?page=wprsdt | 853 | 2.00 | 23.97 | 28.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/tools.php?page=wprsdt
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/tools.php?page=wprsdt
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=wprsdt
- > Notice in wp-content/plugins/wprs-data-transporter/admin.php+131
Undefined index: platform_old
- 3 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=wprsdt
- > Notice in wp-content/plugins/wprs-data-transporter/admin.php+150
Undefined index: platform_new
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 fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wprs-data-transporter/wprs-data-transporter.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wprs-data-transporter/admin.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 32 tag instead of maximum 10
- Screenshots: Screenshot #1 (The WPRS Data Transporter UI, including the dropdown with some of the supported platforms) image required
wprs-data-transporter/wprs-data-transporter.php 92% from 13 tests
The main PHP file in "WPRS Data Transporter" ver. 0.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 154 characters long)
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
Good job! No executable or dangerous file extensions detected342 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 155 | 184 | 342 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
3 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon-128x128.png | 13.66KB | 5.70KB | ▼ 58.31% |
banner-772x250.png | 35.75KB | 15.21KB | ▼ 57.44% |
icon-256x256.png | 34.19KB | 13.41KB | ▼ 60.77% |