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
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.25ms] Passed 4 tests
Server-side resources used by WP CSV Exporter
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.39 ▼5.53 |
Dashboard /wp-admin | 3.34 ▲0.04 | 50.17 ▼3.17 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 49.43 ▲2.67 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 90.45 ▼3.10 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.07 ▼5.20 |
CSV Export /wp-admin/tools.php?page=wp-csv-exporter | 3.31 | 36.55 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP CSV Exporter
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 14.25 ▲0.02 | 1.81 ▲0.12 | 42.39 ▼2.06 |
Dashboard /wp-admin | 2,196 ▲16 | 5.61 ▼0.02 | 87.75 ▼0.80 | 38.15 ▼3.89 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.97 ▼0.04 | 34.07 ▼5.44 | 31.11 ▼4.95 |
Add New Post /wp-admin/post-new.php | 1,529 ▲2 | 22.95 ▼0.23 | 645.57 ▼11.41 | 52.56 ▼4.42 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.21 ▲0.04 | 97.81 ▼8.94 | 43.56 ▼1.26 |
CSV Export /wp-admin/tools.php?page=wp-csv-exporter | 1,876 | 5.40 | 114.07 | 91.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses() in wp-content/plugins/wp-csv-exporter/admin/download.php:298
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-csv-exporter/admin/index.php:2
- > PHP Warning
Use of undefined constant WCE_PLUGIN_DIR - assumed 'WCE_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-csv-exporter/admin/admin.php on line 3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-csv-exporter/admin/setting.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/wp-csv-exporter/wp-csv-exporter.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_types() in wp-content/plugins/wp-csv-exporter/admin/admin.php:6
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/tools.php?page=wp-csv-exporter
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/tools.php?page=wp-csv-exporter
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Requires at least: Invalid plugin version format
wp-csv-exporter/wp-csv-exporter.php 92% from 13 tests
The entry point to "WP CSV Exporter" version 2.0.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 194 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected1,642 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 92 | 126 | 664 |
CSS | 2 | 51 | 68 | 538 |
PO File | 2 | 101 | 1 | 271 |
JavaScript | 2 | 39 | 37 | 169 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 1 | 50.00% |
▷ Concrete classes | 1 | 50.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 1 | 25.00% |
▷ Anonymous functions | 3 | 75.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
13 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
css/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/images/ui-icons_888888_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
css/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |