Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.51ms] Passed 4 tests
An overview of server-side resources used by Reviewexchanger Demo Importer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.78 ▼1.70 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.74 ▼2.53 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.58 ▼0.21 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 85.89 ▼13.18 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.02 ▼0.64 |
Server storage [IO: ▲2.53MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Reviewexchanger Demo Importer: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.28 ▼1.03 | 1.67 ▼0.11 | 44.77 ▼2.58 |
Dashboard /wp-admin | 2,203 ▲18 | 5.86 ▲0.77 | 97.29 ▼9.10 | 36.98 ▼10.47 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.02 | 40.34 ▲5.46 | 34.42 ▲0.67 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 23.22 ▼0.00 | 721.17 ▲6.36 | 74.76 ▲24.15 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.24 ▲0.01 | 95.49 ▼7.29 | 40.49 ▼4.70 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
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
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/reviewexchanger-demo-importer/theme/goldly-grocery-pro/demo.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/reviewexchanger-demo-importer/theme/goldly-grocery/demo.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/reviewexchanger-demo-importer/theme/ecommerce-goldly-pro/demo.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/reviewexchanger-demo-importer/theme/goldly-pro/demo.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/reviewexchanger-demo-importer/theme/experoner-pro/demo.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/reviewexchanger-demo-importer/theme/goldly/demo.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/reviewexchanger-demo-importer/theme/experoner/demo.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/reviewexchanger-demo-importer/theme/ecommerce-goldly/demo.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Contributors: The plugin contributors field is missing
reviewexchanger-demo-importer/reviewexchanger-demo-importer.php Passed 13 tests
"Reviewexchanger Demo Importer" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
33 characters long description:
Import all the demos on your site
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin20,672 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 8 | 460 | 406 | 20,372 |
PHP | 9 | 57 | 15 | 300 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 2 | |
▷ Static methods | 2 | 100.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 0% from 2 tests
Image compression 0% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 1.15MB with 0.69MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) theme/goldly-grocery/inc/preview_import_image1.png | 85.09KB | 0.00KB | ▼ 100.00% |
theme/experoner-pro/inc/preview_import_image1.png | 132.72KB | 132.71KB | 0.00% |
(invalid) theme/ecommerce-goldly-pro/inc/preview_import_image1.png | 91.90KB | 0.00KB | ▼ 100.00% |
theme/experoner/inc/preview_import_image1.png | 132.72KB | 132.71KB | 0.00% |
(invalid) theme/ecommerce-goldly/inc/preview_import_image1.png | 91.90KB | 0.00KB | ▼ 100.00% |