Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼145.80ms] Passed 4 tests
Server-side resources used by Simple CSV/XLS Exporter
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.93 ▲0.09 | 32.58 ▲9.71 |
Dashboard /wp-admin | 3.17 ▲0.10 | 31.60 ▼6.06 |
Posts /wp-admin/edit.php | 3.25 ▲0.14 | 32.34 ▲2.37 |
Add New Post /wp-admin/post-new.php | 5.53 ▲0.09 | 72.88 ▼580.37 |
Media Library /wp-admin/upload.php | 3.11 ▲0.10 | 23.18 ▲0.88 |
CSV/XLS Export /wp-admin/tools.php?page=Simple_CSV_Exporter_Settings | 3.08 | 27.20 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Simple CSV/XLS Exporter: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,688 ▲86 | 15.73 ▼0.30 | 5.37 ▲0.48 | 76.51 ▼1.99 |
Dashboard /wp-admin | 2,952 ▲56 | 6.15 ▼0.03 | 124.14 ▼9.68 | 169.31 ▼8.00 |
Posts /wp-admin/edit.php | 2,759 ▲19 | 3.27 ▲0.05 | 63.99 ▼1.72 | 134.67 ▼1.43 |
Add New Post /wp-admin/post-new.php | 2,507 ▼1,207 | 15.90 ▼2.62 | 416.80 ▼48.59 | 158.30 ▼11.70 |
Media Library /wp-admin/upload.php | 1,774 ▲25 | 5.60 ▲0.06 | 136.39 ▼0.74 | 183.20 ▼4.84 |
CSV/XLS Export /wp-admin/tools.php?page=Simple_CSV_Exporter_Settings | 2,011 | 2.61 | 58.84 | 217.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/tools.php?page=Simple_CSV_Exporter_Settings
- > Warning in wp-includes/formatting.php+2140
strtolower() expects parameter 1 to be string, array given
- 26 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=Simple_CSV_Exporter_Settings
- > Notice in wp-content/plugins/simple-csv-xls-exporter/classes/simple-csv-exporter-settings.php+301
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/simple-csv-xls-exporter/process/simple_csv_xls_exporter_csv_xls.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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
Please fix the following attributes:
- Requires at least: Version not formatted correctly
- Screenshots: Add images for these screenshots: #1 (Settings Page), #2 (Settings Page), #3 (Settings Page)
simple-csv-xls-exporter/simple-csv-xls-exporter.php 92% from 13 tests
This is the main PHP file of "Simple CSV/XLS Exporter" version 1.5.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 210 characters long)
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
Good job! No executable or dangerous file extensions detected930 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 171 | 274 | 868 |
CSS | 1 | 14 | 8 | 62 |
PHP code Passed 2 tests
A short 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.32 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 2 | 11.76% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin