Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.16MB] [CPU: ▼5.85ms] Passed 4 tests
This is a short check of server-side resources used by JTRT Responsive Tables
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 38.55 ▼5.98 |
Dashboard /wp-admin | 3.52 ▲0.22 | 49.86 ▲0.47 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 53.61 ▲4.64 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 81.99 ▼20.09 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 35.21 ▲2.20 |
Add New /wp-admin/post-new.php?post_type=jtrt_tables_post | 3.56 | 48.16 |
All Tables /wp-admin/edit.php?post_type=jtrt_tables_post | 3.44 | 40.96 |
Server storage [IO: ▲3.69MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 79 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_jtrt_tables |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
JTRT Responsive Tables: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,967 ▲221 | 15.08 ▲0.45 | 1.78 ▼0.04 | 42.87 ▲3.31 |
Dashboard /wp-admin | 2,370 ▲182 | 6.41 ▲1.53 | 124.61 ▲12.64 | 38.41 ▼3.49 |
Posts /wp-admin/edit.php | 2,279 ▲190 | 3.34 ▲1.35 | 54.65 ▲11.44 | 36.05 ▼1.45 |
Add New Post /wp-admin/post-new.php | 1,540 ▼2 | 17.76 ▼0.41 | 632.01 ▲25.27 | 41.46 ▼10.87 |
Media Library /wp-admin/upload.php | 1,409 ▲24 | 4.16 ▼0.03 | 85.73 ▼12.69 | 44.03 ▲1.32 |
Add New /wp-admin/post-new.php?post_type=jtrt_tables_post | 6,234 | 7.12 | 320.17 | 159.91 |
All Tables /wp-admin/edit.php?post_type=jtrt_tables_post | 1,251 | 3.45 | 47.10 | 34.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
The following issues need your attention
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/jtrt-responsive-tables/admin/partials/jtrt-responsive-tables-admin-display.php
- > /wp-content/plugins/jtrt-responsive-tables/public/partials/jtrt-responsive-tables-public-display.php
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _x() in wp-content/plugins/jtrt-responsive-tables/admin/partials/jtrt-custom-post-type.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/jtrt-responsive-tables/admin/partials/templates/jtrt-responsive-tables-step1.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/jtrt-responsive-tables/admin/partials/templates/jtrt-responsive-tables-step2.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/jtrt-responsive-tables/admin/partials/templates/extras/jtrt-responsive-tables-extra-temps.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/jtrt-responsive-tables/admin/partials/jtrt-adminClass-extras.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/jtrt-responsive-tables/admin/class-jtrt-responsive-tables-admin.php:328
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/jtrt-responsive-tables/admin/partials/templates/jtrt-responsive-tables-post-meta-1-display.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/jtrt-responsive-tables/admin/partials/jtrt-adminClass-shortcode.php:187
- > PHP Fatal error
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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Invalid URI found ("//")
- Tags: You are using too many tags: 13 tag instead of maximum 10
jtrt-responsive-tables/jtrt-responsive-tables.php Passed 13 tests
The entry point to "JTRT Responsive Tables" version 4.1.9 is a PHP file that has certain tags in its header comment area
45 characters long description:
The most advanced table editor for wordpress.
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 detected32,291 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 16 | 5,783 | 7,729 | 27,670 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 19 | 269 | 593 | 1,120 |
CSS | 7 | 153 | 53 | 801 |
HTML | 1 | 5 | 0 | 29 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 5.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 1.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 2 | 6.67% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 10 | |
▷ Named functions | 9 | 90.00% |
▷ Anonymous functions | 1 | 10.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
23 PNG files occupy 0.03MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/css/icons/export.png | 1.05KB | 0.30KB | ▼ 71.53% |
admin/css/icons/import.png | 1.01KB | 0.24KB | ▼ 76.67% |
admin/css/icons/cols.png | 0.97KB | 0.16KB | ▼ 83.43% |
admin/css/icons/edit-font.png | 0.99KB | 0.17KB | ▼ 83.27% |
admin/css/icons/align-justify.png | 0.95KB | 0.15KB | ▼ 84.40% |