Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.75MB] [CPU: ▲1.96ms] 75% from 4 tests
An overview of server-side resources used by Posts Table with Search & Sort
The following require your attention
- CPU: The total CPU usage must kept under 500.00ms (currently 693.91ms on /wp-admin/options-general.php?page=posts_table_search_sort)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.09 ▲0.62 | 40.14 ▼5.59 |
Dashboard /wp-admin | 4.16 ▲0.81 | 58.06 ▼5.31 |
Posts /wp-admin/edit.php | 4.21 ▲0.85 | 55.53 ▲7.42 |
Add New Post /wp-admin/post-new.php | 6.68 ▲0.79 | 99.73 ▲12.86 |
Media Library /wp-admin/upload.php | 4.02 ▲0.78 | 46.22 ▲11.30 |
Posts Table With Search & Sort /wp-admin/options-general.php?page=posts_table_search_sort | 4.11 | 693.91 |
Server storage [IO: ▲2.01MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 151 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Posts Table with Search & Sort
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲36 | 14.23 ▼0.48 | 1.68 ▼0.16 | 39.41 ▼3.85 |
Dashboard /wp-admin | 2,203 ▲29 | 5.61 ▲0.01 | 95.38 ▼7.14 | 42.04 ▼2.36 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.02 ▼0.00 | 40.97 ▲2.25 | 39.39 ▲2.93 |
Add New Post /wp-admin/post-new.php | 1,532 ▼2 | 23.29 ▼1.96 | 609.90 ▲9.66 | 50.09 ▼16.86 |
Media Library /wp-admin/upload.php | 1,408 ▲14 | 4.15 ▼0.03 | 96.38 ▼2.35 | 43.58 ▼0.85 |
Posts Table With Search & Sort /wp-admin/options-general.php?page=posts_table_search_sort | 1,532 | 2.06 | 24.46 | 48.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 44× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Barn2\\Plugin\\Posts_Table_Search_Sort\\Dependencies\\Setup_Wizard\\Step' not found in wp-content/plugins/posts-data-table/dependencies/barn2/setup-wizard/src/Steps/Welcome_Free.php:16
- > PHP Fatal error
Uncaught Error: Interface 'Barn2\\Plugin\\Posts_Table_Search_Sort\\Dependencies\\Lib\\Registerable' not found in wp-content/plugins/posts-data-table/src/Plugin_Setup.php:19
- > PHP Fatal error
Uncaught Error: Class 'Barn2\\Plugin\\Posts_Table_Search_Sort\\Dependencies\\Setup_Wizard\\Steps\\Cross_Selling' not found in wp-content/plugins/posts-data-table/src/Admin/Wizard/Steps/Upsell.php:15
- > PHP Fatal error
Uncaught Error: Interface 'Barn2\\Plugin\\Posts_Table_Search_Sort\\Dependencies\\Lib\\Plugin\\License\\License_Summary' not found in wp-content/plugins/posts-data-table/dependencies/barn2/barn2-lib/src/Plugin/License/License.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Barn2\\Plugin\\Posts_Table_Search_Sort\\Dependencies\\Lib\\Registerable' not found in wp-content/plugins/posts-data-table/dependencies/barn2/barn2-lib/src/Plugin/License/Admin/License_Key_Setting.php:18
- > PHP Fatal error
Uncaught Error: Interface 'Barn2\\Plugin\\Posts_Table_Search_Sort\\Dependencies\\Lib\\Schedulable' not found in wp-content/plugins/posts-data-table/dependencies/barn2/barn2-lib/src/Scheduled_Task.php:16
- > PHP Fatal error
Uncaught Error: Interface 'Barn2\\Plugin\\Posts_Table_Search_Sort\\Dependencies\\Lib\\Registerable' not found in wp-content/plugins/posts-data-table/src/Table_Shortcode.php:15
- > PHP Fatal error
Uncaught Error: Interface 'Barn2\\Plugin\\Posts_Table_Search_Sort\\Dependencies\\Lib\\Registerable' not found in wp-content/plugins/posts-data-table/src/Frontend_Scripts.php:18
- > PHP Fatal error
Uncaught Error: Interface 'Barn2\\Plugin\\Posts_Table_Search_Sort\\Dependencies\\Lib\\Plugin\\Plugin' not found in wp-content/plugins/posts-data-table/dependencies/barn2/barn2-lib/src/Plugin/Simple_Plugin.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Barn2\\Plugin\\Posts_Table_Search_Sort\\Dependencies\\Lib\\Registerable' not found in wp-content/plugins/posts-data-table/dependencies/barn2/barn2-lib/src/Rest/Base_Server.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: wordpress table plugin, data-table plugin, table, wordpress table, table plugin
posts-data-table/posts-data-table.php Passed 13 tests
"Posts Table with Search & Sort" version 1.4.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
60 characters long description:
List your posts in an instantly searchable & sortable table.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin15,311 lines of code in 126 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 2,303 | 7,385 | 7,955 |
PHP | 95 | 557 | 3,498 | 6,422 |
CSS | 7 | 44 | 32 | 488 |
PO File | 4 | 56 | 59 | 215 |
JSON | 8 | 8 | 0 | 144 |
Sass | 2 | 2 | 0 | 83 |
Markdown | 1 | 3 | 0 | 4 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 9.13 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 77.00 |
Average method complexity | 2.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 21 | |
Interfaces | 20 | |
Traits | 2 | |
Classes | 63 | |
▷ Abstract classes | 5 | 7.94% |
▷ Concrete classes | 58 | 92.06% |
▷ Final classes | 1 | 1.72% |
Methods | 566 | |
▷ Static methods | 114 | 20.14% |
▷ Public methods | 497 | 87.81% |
▷ Protected methods | 7 | 1.24% |
▷ Private methods | 62 | 10.95% |
Functions | 13 | |
▷ Named functions | 5 | 38.46% |
▷ Anonymous functions | 8 | 61.54% |
Constants | 26 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 26 | 100.00% |
▷ Public constants | 26 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and 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 |
assets/js/datatables/DataTables-1.11.3/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
assets/js/datatables/DataTables-1.11.3/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
assets/js/datatables/DataTables-1.11.3/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
assets/js/datatables/DataTables-1.11.3/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
assets/js/datatables/DataTables-1.11.3/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |