Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼5.80ms] Passed 4 tests
This is a short check of server-side resources used by Widget Importer & Exporter
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 34.11 ▼7.09 |
Dashboard /wp-admin | 3.43 ▲0.12 | 43.12 ▼6.62 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 46.52 ▼0.89 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 80.85 ▼8.61 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 35.16 ▼0.77 |
Widget Importer & Exporter /wp-admin/tools.php?page=widget-importer-exporter | 3.32 | 30.18 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Widget Importer & Exporter
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.21 ▼1.16 | 1.52 ▼0.46 | 36.16 ▼8.65 |
Dashboard /wp-admin | 2,214 ▲23 | 4.89 ▲0.02 | 112.13 ▼1.80 | 40.79 ▼4.48 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.01 | 35.25 ▲1.55 | 29.90 ▼9.06 |
Add New Post /wp-admin/post-new.php | 1,546 ▲11 | 18.10 ▼5.15 | 646.80 ▼35.77 | 56.42 ▼2.45 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.20 ▲0.00 | 96.05 ▼6.40 | 40.54 ▼3.75 |
Widget Importer & Exporter /wp-admin/tools.php?page=widget-importer-exporter | 816 | 2.07 | 27.87 | 33.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
widget-importer-exporter/widget-importer-exporter.php Passed 13 tests
The principal PHP file in "Widget Importer & Exporter" v. 1.6.1 is loaded by WordPress automatically on each request
28 characters long description:
Imports and exports widgets.
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
Good job! No executable or dangerous file extensions detected1,018 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 202 | 475 | 645 |
PO File | 4 | 98 | 144 | 318 |
CSS | 1 | 23 | 7 | 50 |
JavaScript | 1 | 2 | 1 | 5 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.67 |
▷ 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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
No PNG images were found in this plugin