Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.21ms] Passed 4 tests
This is a short check of server-side resources used by WP Exporter Plus
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 44.96 ▲4.37 |
Dashboard /wp-admin | 3.39 ▲0.09 | 50.31 ▼7.56 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 51.75 ▼1.65 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 86.77 ▼15.76 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.16 ▲0.13 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for WP Exporter Plus
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.35 ▼0.03 | 1.83 ▲0.23 | 43.91 ▼5.60 |
Dashboard /wp-admin | 2,200 ▲26 | 5.52 ▼0.12 | 83.98 ▼9.89 | 38.68 ▼7.73 |
Posts /wp-admin/edit.php | 2,115 ▲12 | 2.01 ▲0.02 | 39.18 ▼0.21 | 34.37 ▼4.00 |
Add New Post /wp-admin/post-new.php | 1,528 ▼0 | 23.62 ▲0.63 | 664.11 ▲54.28 | 59.39 ▲6.30 |
Media Library /wp-admin/upload.php | 1,402 ▲2 | 4.22 ▼0.01 | 97.96 ▼0.47 | 47.86 ▲4.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-exporter-plus/wp_exporter_plus.php
- > /wp-content/plugins/wp-exporter-plus/export_functions.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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 require attention:
- Requires at least: Invalid plugin version format
- Requires php: Invalid plugin version format
wp-exporter-plus/wp_exporter_plus.php 85% from 13 tests
Analyzing the main PHP file in "WP Exporter Plus" version 3.0
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-exporter-plus.php" instead of "wp_exporter_plus.php")
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
No dangerous file extensions were detected526 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 48 | 82 | 500 |
CSS | 1 | 0 | 0 | 26 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
4 PNG files occupy 0.11MB with 0.05MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/csv.png | 0.36KB | 0.33KB | ▼ 7.84% |
UserExport.png | 37.72KB | 21.15KB | ▼ 43.93% |
Dashboard Widget.png | 19.56KB | 6.28KB | ▼ 67.88% |
ProductExport.png | 54.40KB | 27.08KB | ▼ 50.21% |