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
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.48ms] Passed 4 tests
This is a short check of server-side resources used by WP DataTable
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 47.43 ▲9.47 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.68 ▼5.43 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.62 ▲0.14 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.52 ▼8.91 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.14 ▲0.29 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WP DataTable
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.23 ▼1.20 | 5.81 ▲4.16 | 41.91 ▲1.31 |
Dashboard /wp-admin | 2,209 ▲17 | 4.84 ▼0.06 | 97.70 ▼10.79 | 39.40 ▼1.59 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.04 | 34.83 ▼2.34 | 37.54 ▲4.53 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.19 ▲5.52 | 657.96 ▼55.61 | 49.75 ▼3.89 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.14 ▼0.15 | 95.78 ▼2.98 | 42.28 ▼3.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
2 plugin tags: jquery, datatables
wp-datatable/wp-datatable.php 92% from 13 tests
The entry point to "WP DataTable" version 0.2.6 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin808 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 81 | 188 | 712 |
PHP | 3 | 23 | 78 | 58 |
Markdown | 1 | 4 | 0 | 27 |
CSS | 2 | 24 | 22 | 11 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |