Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼2.40ms] Passed 4 tests
An overview of server-side resources used by WP Responsive Table
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 37.90 ▼2.95 |
Dashboard /wp-admin | 3.42 ▲0.12 | 49.83 ▼6.19 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 47.58 ▲0.57 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 86.61 ▼1.03 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 37.28 ▲4.56 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Responsive Table
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,886 ▲140 | 13.69 ▼0.69 | 4.87 ▲2.97 | 39.14 ▼4.68 |
Dashboard /wp-admin | 2,211 ▲31 | 5.91 ▲0.03 | 95.67 ▼11.83 | 40.18 ▼5.92 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.04 ▲0.01 | 34.78 ▼2.73 | 30.27 ▼4.67 |
Add New Post /wp-admin/post-new.php | 1,530 ▲7 | 23.02 ▼0.15 | 671.03 ▲36.18 | 62.99 ▼4.75 |
Media Library /wp-admin/upload.php | 1,393 ▲2 | 4.19 ▼0.13 | 96.06 ▼3.91 | 42.28 ▼5.24 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/wp-responsive-table/src/Admin/Customizer/CustomizeDonate.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Responsive table settings), #2 (Scrollbar on narrow screen)
wp-responsive-table/wp-responsive-table.php Passed 13 tests
The main PHP script in "WP Responsive Table" version 1.2.6 is automatically included on every request by WordPress
59 characters long description:
Makes HTML tables horizontally scrollable on a small screen
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,364 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 314 | 318 | 1,049 |
JSON | 3 | 1 | 0 | 72 |
Markdown | 1 | 53 | 0 | 70 |
CSS | 2 | 6 | 3 | 63 |
PO File | 1 | 21 | 23 | 59 |
JavaScript | 2 | 12 | 0 | 51 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 7.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 5 | 7.58% |
▷ Public methods | 62 | 93.94% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 6.06% |
Functions | 4 | |
▷ Named functions | 1 | 25.00% |
▷ Anonymous functions | 3 | 75.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.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
4 PNG files occupy 0.13MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 71.10KB | 31.15KB | ▼ 56.19% |
assets/frontend/img/sort-asc.png | 3.32KB | 2.95KB | ▼ 11.37% |
assets/frontend/img/sort-desc.png | 3.33KB | 2.94KB | ▼ 11.90% |
screenshot-1.png | 51.30KB | 21.96KB | ▼ 57.20% |