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.24MB] [CPU: ▲3.00ms] Passed 4 tests
Analyzing server-side resources used by Make Tables Responsive
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.26 | 52.54 ▲12.47 |
Dashboard /wp-admin | 3.55 ▲0.20 | 58.39 ▼2.22 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 54.37 ▲9.47 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 89.70 ▼7.39 |
Media Library /wp-admin/upload.php | 3.48 ▲0.24 | 45.74 ▲12.13 |
Make Tables Responsive /wp-admin/options-general.php?page=make-tables-responsive | 3.44 | 39.93 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Make Tables Responsive: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲14 | 14.23 ▼0.50 | 1.67 ▲0.00 | 42.45 ▲0.01 |
Dashboard /wp-admin | 2,199 ▲19 | 5.58 ▼0.11 | 93.97 ▲3.02 | 42.27 ▼2.24 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.96 ▼0.03 | 34.59 ▼3.77 | 33.26 ▼3.39 |
Add New Post /wp-admin/post-new.php | 1,529 ▼0 | 23.10 ▼0.07 | 632.28 ▼51.12 | 53.78 ▼6.85 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.21 ▼0.01 | 96.57 ▲0.37 | 41.30 ▼2.70 |
Make Tables Responsive /wp-admin/options-general.php?page=make-tables-responsive | 2,040 | 3.40 | 75.75 | 32.15 |
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
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 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)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: mobile, responsive, tables
make-tables-responsive/make-tables-responsive.php Passed 13 tests
"Make Tables Responsive" version 1.7.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
105 characters long description:
Automatically makes the HTML tables in your posts, pages, and widgets to be responsive (mobile-friendly).
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin1,804 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 299 | 267 | 1,755 |
JavaScript | 1 | 5 | 5 | 49 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
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 | 28 | |
▷ Named functions | 27 | 96.43% |
▷ Anonymous functions | 1 | 3.57% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo32px.png | 3.79KB | 1.03KB | ▼ 72.85% |