Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- This plugin did not install gracefully
- > Parse error in wp-content/plugins/responsive-data-table/display-table.php+277
syntax error, unexpected end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.76ms] Passed 4 tests
A check of server-side resources used by Responsive Data Table
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.72 ▼1.76 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.68 ▼6.94 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.16 ▼1.65 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.02 ▼16.42 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.34 ▼9.92 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Responsive Data Table: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲18 | 14.35 ▼0.29 | 1.89 ▼0.06 | 45.64 ▲1.62 |
Dashboard /wp-admin | 2,195 ▲18 | 5.55 ▼0.12 | 84.55 ▼4.92 | 38.60 ▼6.11 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.02 ▲0.03 | 36.03 ▼2.33 | 33.66 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,555 ▲22 | 18.26 ▼4.80 | 621.02 ▼61.60 | 62.70 ▲15.17 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.19 ▼0.09 | 100.57 ▼7.35 | 45.40 ▼0.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/responsive-data-table/admin/add_table.php
- > /wp-content/plugins/responsive-data-table/admin/manage_tables.php
- > /wp-content/plugins/responsive-data-table/admin/manage_table_data.php
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/responsive-data-table/functions/database-function.php on line 9
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/responsive-data-table/functions/database-function.php on line 10
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/responsive-data-table/functions/database-function.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/responsive-data-table/mc-main.php:17
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/responsive-data-table/display-table.php on line 277
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Desktop display in table structure), #2 (Desktop display with anchor link data in table structure), #3 (Responsive display in mobile devices), #4 (Listing tables with shortcode in admin panel), #5 (Columns, appearance settings in admin panel), #6 (Data entry panel in admin panel)
responsive-data-table/mc-main.php 85% from 13 tests
The entry point to "Responsive Data Table" version 1.3 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("responsive-data-table.php" instead of "mc-main.php")
- Text Domain: The text domain should only use lowercase characters and dashes
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
Good job! No executable or dangerous file extensions detected1,407 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 123 | 46 | 1,256 |
JavaScript | 1 | 18 | 5 | 108 |
CSS | 2 | 5 | 0 | 43 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 0.27MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 59.52KB | 17.26KB | ▼ 71.00% |
screenshot-7.png | 32.63KB | 11.94KB | ▼ 63.41% |
screenshot-5.png | 43.92KB | 13.33KB | ▼ 69.65% |
screenshot-6.png | 40.04KB | 18.80KB | ▼ 53.06% |
screenshot-4.png | 45.08KB | 21.47KB | ▼ 52.38% |