Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.66ms] Passed 4 tests
An overview of server-side resources used by Table Sorter
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.80 ▼6.49 |
Dashboard /wp-admin | 3.33 ▲0.02 | 53.92 ▼2.29 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 54.19 ▼1.51 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.00 ▼16.36 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.82 ▲2.32 |
Table Sorter /wp-admin/options-general.php?page=table-sorter | 3.22 | 33.84 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Table Sorter
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,880 ▲119 | 13.48 ▼0.88 | 9.69 ▲7.42 | 38.58 ▼9.86 |
Dashboard /wp-admin | 2,202 ▲22 | 5.48 ▼0.13 | 85.59 ▼3.88 | 37.04 ▼1.84 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.97 ▲0.00 | 40.31 ▲4.13 | 39.26 ▲1.85 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.11 ▼0.07 | 660.26 ▼104.10 | 52.22 ▼2.45 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.34 ▲0.18 | 97.00 ▼2.77 | 47.25 ▼0.65 |
Table Sorter /wp-admin/options-general.php?page=table-sorter | 904 | 2.16 | 25.10 | 30.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however 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
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 add_action() in wp-content/plugins/table-sorter/table-sorter.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== table-sorter ===
)
table-sorter/table-sorter.php Passed 13 tests
The principal PHP file in "Table Sorter" v. 2.3 is loaded by WordPress automatically on each request
92 characters long description:
This plugin makes your standard HTML tables sortable. For more details, check plugin's docs.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin878 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 150 | 251 | 764 |
PHP | 1 | 7 | 9 | 82 |
Ant | 1 | 5 | 3 | 18 |
CSS | 1 | 4 | 0 | 14 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 7 | |
▷ Named functions | 7 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin