Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.92MB] [CPU: ▼35.59ms] Passed 4 tests
Analyzing server-side resources used by Select table and column and output in CSV
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 40.49 ▲0.77 |
Dashboard /wp-admin | 3.02 ▼0.28 | 25.93 ▼30.10 |
Posts /wp-admin/edit.php | 3.03 ▼0.33 | 27.41 ▼22.94 |
Add New Post /wp-admin/post-new.php | 3.02 ▼2.86 | 25.26 ▼80.28 |
Media Library /wp-admin/upload.php | 3.02 ▼0.21 | 24.51 ▼9.03 |
Server storage [IO: ▲0.02MB] [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: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Select table and column and output in CSV
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.34 ▼0.06 | 1.63 ▼0.06 | 42.41 ▲0.70 |
Dashboard /wp-admin | 2,214 ▲39 | 5.62 ▼0.02 | 84.30 ▼20.15 | 38.37 ▼7.55 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 2.02 ▲0.05 | 40.05 ▲3.59 | 36.34 ▲3.14 |
Add New Post /wp-admin/post-new.php | 1,544 ▲16 | 23.27 ▲0.07 | 647.53 ▲47.47 | 51.56 ▼11.26 |
Media Library /wp-admin/upload.php | 1,410 ▲10 | 4.27 ▼0.04 | 103.62 ▲1.67 | 43.72 ▼4.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/select-table-and-column-and-output-in-csv/showDBTC.php+22
Undefined index: HTTP_ACCEPT_LANGUAGE
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/select-table-and-column-and-output-in-csv/showDBTC.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: database, analysis, csv
select-table-and-column-and-output-in-csv/showDBTC.php 85% from 13 tests
The primary PHP file in "Select table and column and output in CSV" version 1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 248 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("select-table-and-column-and-output-in-csv.php" instead of "showDBTC.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin222 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 7 | 69 | 222 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 40.00 |
▷ Minimum class complexity | 40.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 10.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 25.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
No PNG files were detected