Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼12.32ms] Passed 4 tests
Analyzing server-side resources used by WP jQuery DataTable
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 41.80 ▼1.47 |
Dashboard /wp-admin | 3.38 ▲0.03 | 46.75 ▼24.29 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 48.31 ▲1.91 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 85.53 ▼25.43 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 40.74 ▲5.04 |
Server storage [IO: ▲0.71MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 15 new options
New WordPress options |
---|
wp_jdt_paging |
wp_jdt_info |
widget_recent-posts |
wp_jdt_b_length_change |
wp_jdt_paging_type |
wp_jdt_page_length |
wp_jdt_order_row |
wp_jdt_searching |
widget_theysaidso_widget |
wp_jdt_ordering |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP jQuery DataTable
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲141 | 13.60 ▼0.75 | 12.94 ▲11.16 | 46.98 ▲6.33 |
Dashboard /wp-admin | 2,211 ▲34 | 5.64 ▲0.06 | 84.98 ▼11.00 | 39.08 ▲0.03 |
Posts /wp-admin/edit.php | 2,119 ▲22 | 1.97 ▼0.04 | 42.13 ▲4.45 | 36.71 ▲1.15 |
Add New Post /wp-admin/post-new.php | 1,539 ▲2 | 23.60 ▲5.27 | 695.89 ▲41.07 | 60.23 ▼6.34 |
Media Library /wp-admin/upload.php | 1,413 ▲13 | 4.18 ▼0.04 | 116.68 ▲1.43 | 50.15 ▲6.65 |
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 detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
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)
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wp-jquery-datatable/wp-jquery-datatable.php:11
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (screenshot-1.png), #2 (screenshot-2.png)
wp-jquery-datatable/wp-jquery-datatable.php Passed 13 tests
The entry point to "WP jQuery DataTable" version 4.0.1 is a PHP file that has certain tags in its header comment area
120 characters long description:
Features can be settings to meet your exact needs for your table implementations. like Paging,Ordering,Searching, etc...
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected6,982 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 1,968 | 6,993 | 6,251 |
CSS | 1 | 3 | 30 | 420 |
PHP | 2 | 36 | 27 | 311 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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
PNG files should be compressed to save space and minimize bandwidth usage
13 PNG files occupy 0.22MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/forward_enabled.png | 1.35KB | 0.58KB | ▼ 56.96% |
screenshot-2.png | 96.25KB | 29.15KB | ▼ 69.72% |
screenshot-1.png | 109.31KB | 29.59KB | ▼ 72.93% |
images/forward_enabled_hover.png | 1.35KB | 0.58KB | ▼ 56.93% |
images/forward_disabled.png | 1.33KB | 0.58KB | ▼ 56.42% |