Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/ultimate-tables/init.php+825
Function create_function() is deprecated
Server metrics [RAM: ▼2.32MB] [CPU: ▼337.50ms] Passed 4 tests
This is a short check of server-side resources used by ULTIMATE TABLES
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.05 ▼1.47 | 4.90 ▼44.15 |
Dashboard /wp-admin | 2.07 ▼1.34 | 4.21 ▼28.15 |
Posts /wp-admin/edit.php | 2.07 ▼1.57 | 5.76 ▼30.69 |
Add New Post /wp-admin/post-new.php | 2.07 ▼4.90 | 4.51 ▼1,247.02 |
Media Library /wp-admin/upload.php | 2.07 ▼1.23 | 4.14 ▼19.98 |
Ultimate Tables /wp-admin/options-general.php?page=ultimatetables | 2.07 | 5.25 |
Server storage [IO: ▲1.62MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 85 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_wp_ultimatetables |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ULTIMATE TABLES
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,897 ▲155 | 16.87 ▲1.21 | 9.93 ▲2.66 | 2.21 ▼0.08 |
Dashboard /wp-admin | 2,901 ▲43 | 6.69 ▲0.53 | 120.30 ▼24.09 | 157.18 ▼9.98 |
Posts /wp-admin/edit.php | 2,701 ▲29 | 3.40 ▲0.16 | 64.40 ▼2.92 | 132.07 ▼9.94 |
Add New Post /wp-admin/post-new.php | 1,678 ▲17 | 18.29 ▲1.02 | 414.84 ▲12.73 | 153.74 ▲0.38 |
Media Library /wp-admin/upload.php | 1,711 ▲13 | 5.69 ▲0.20 | 142.58 ▲2.82 | 181.68 ▼8.35 |
Ultimate Tables /wp-admin/options-general.php?page=ultimatetables | 1,120 | 2.95 | 55.99 | 119.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/ultimate-tables/init.php+825
Function create_function() is deprecated
- This plugin did not uninstall successfully, leaving 1 option in the database
- widget_wp_ultimatetables
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=ultimatetables
- > Deprecated in wp-content/plugins/ultimate-tables/init.php+825
Function create_function() is deprecated
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ultimate-tables/template/panel.php
- > /wp-content/plugins/ultimate-tables/css/style.php
- 113× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: twidth in wp-content/plugins/ultimate-tables/template/panel.php on line 397
- > PHP Notice
Undefined variable: id in wp-content/plugins/ultimate-tables/template/panel.php on line 342
- > PHP Notice
Undefined variable: color1 in wp-content/plugins/ultimate-tables/template/panel.php on line 334
- > PHP Notice
Undefined variable: id in wp-content/plugins/ultimate-tables/template/panel.php on line 348
- > PHP Notice
Undefined variable: id in wp-content/plugins/ultimate-tables/template/panel.php on line 244
- > PHP Notice
Undefined variable: id in wp-content/plugins/ultimate-tables/template/panel.php on line 237
- > PHP Notice
Undefined variable: sizedescription in wp-content/plugins/ultimate-tables/template/panel.php on line 289
- > PHP Notice
Undefined variable: id in wp-content/plugins/ultimate-tables/template/panel.php on line 370
- > PHP Notice
Undefined variable: title in wp-content/plugins/ultimate-tables/template/panel.php on line 244
- > PHP Notice
Undefined variable: id in wp-content/plugins/ultimate-tables/template/panel.php on line 53
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Table sample.), #2 (Settings -> Ultimate tables.), #3 (Table admin.)
- Tags: Please delete some tags, you are using 21 tag instead of maximum 10
ultimate-tables/init.php 92% from 13 tests
The main PHP script in "ULTIMATE TABLES" version 1.6.5 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ultimate-tables.php" instead of "init.php")
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
Good job! No executable or dangerous file extensions detected11,487 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 19 | 2,216 | 7,284 | 7,765 |
CSS | 18 | 191 | 162 | 2,592 |
PHP | 4 | 594 | 100 | 929 |
HTML | 3 | 122 | 15 | 201 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
31 PNG files occupy 0.25MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
template/logoextend.png | 8.07KB | 4.00KB | ▼ 50.50% |
template/icono3.png | 15.15KB | 3.78KB | ▼ 75.05% |
template/icono4.png | 14.52KB | 3.36KB | ▼ 76.85% |
images/Untitled-1.png | 0.15KB | 0.21KB | 0.00% |