Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼11.80ms] Passed 4 tests
A check of server-side resources used by Automatic Responsive Tables
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 41.59 ▼3.73 |
Dashboard /wp-admin | 3.39 ▲0.05 | 50.26 ▼19.76 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 52.14 ▼2.49 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 93.52 ▼21.23 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 39.26 ▼0.84 |
Responsive Tables /wp-admin/options-general.php?page=responsive-tables | 3.27 | 33.92 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Automatic Responsive Tables
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,882 ▲111 | 13.37 ▼1.19 | 9.68 ▲7.93 | 43.57 ▲3.76 |
Dashboard /wp-admin | 2,199 ▲18 | 5.64 ▼0.09 | 82.27 ▼23.34 | 37.65 ▼2.03 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.97 ▲0.02 | 38.91 ▲2.28 | 35.29 ▲1.23 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.15 ▲0.09 | 678.88 ▼15.27 | 51.47 ▼12.65 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.24 ▲0.13 | 95.90 ▼21.52 | 48.51 ▲0.89 |
Responsive Tables /wp-admin/options-general.php?page=responsive-tables | 1,499 | 2.72 | 56.72 | 45.25 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=responsive-tables
- > Notice in wp-content/plugins/automatic-responsive-tables/automatic-responsive-tables.php+143
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/automatic-responsive-tables/trunk/automatic-responsive-tables.php
- > /wp-content/plugins/automatic-responsive-tables/automatic-responsive-tables.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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
6 plugin tags: responsive, automatic, tables, table, fluid...
automatic-responsive-tables/automatic-responsive-tables.php Passed 13 tests
The main PHP script in "Automatic Responsive Tables" version 1.3 is automatically included on every request by WordPress
74 characters long description:
Automatically or Manually convert all tables on your site to be responsive
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 detected536 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 58 | 28 | 315 |
JavaScript | 2 | 27 | 8 | 147 |
CSS | 5 | 3 | 0 | 74 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 50.00 |
▷ Minimum class complexity | 50.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 9.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
No PNG files were detected