Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.07ms] Passed 4 tests
An overview of server-side resources used by Custom Table CSV Export With Filters
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.49 ▼1.72 |
Dashboard /wp-admin | 3.35 ▲0.01 | 50.36 ▼21.03 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 49.79 ▲2.80 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 94.53 ▼4.43 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 35.33 ▼1.11 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 19 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_customers |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Custom Table CSV Export With Filters
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲77 | 13.57 ▼0.78 | 1.81 ▲0.11 | 45.30 ▲0.94 |
Dashboard /wp-admin | 2,232 ▲41 | 5.86 ▲0.96 | 97.77 ▼12.46 | 38.83 ▼3.80 |
Posts /wp-admin/edit.php | 2,112 ▲20 | 1.99 ▼0.03 | 40.30 ▲3.27 | 39.50 ▲3.61 |
Add New Post /wp-admin/post-new.php | 1,543 ▲10 | 18.20 ▼5.29 | 613.68 ▼38.93 | 61.91 ▲6.66 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.25 ▲0.04 | 99.60 ▼5.00 | 44.29 ▼0.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/custom-table-csv-export-with-filters/admin/partials/custom-table-csv-admin-display.php on line 18
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/custom-table-csv-export-with-filters/admin/partials/custom-table-csv-admin-display.php on line 18
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/custom-table-csv-export-with-filters/admin/partials/custom-table-csv-admin-display.php on line 18
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Requires at least: The plugin version is formatted incorrectly
custom-table-csv-export-with-filters/custom-table-csv.php 85% from 13 tests
The main file in "Custom Table CSV Export With Filters" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("custom-table-csv-export-with-filters.php" instead of "custom-table-csv.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,166 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 520 | 800 | 2,066 |
CSS | 1 | 7 | 4 | 42 |
JavaScript | 1 | 12 | 7 | 36 |
Markdown | 1 | 10 | 0 | 22 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 46.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 249.00 |
Average method complexity | 4.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 125 | |
▷ Static methods | 3 | 2.40% |
▷ Public methods | 103 | 82.40% |
▷ Protected methods | 16 | 12.80% |
▷ Private methods | 6 | 4.80% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 23 | |
▷ Global constants | 23 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin