Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲4.79MB] [CPU: ▲18.18ms] Passed 4 tests
A check of server-side resources used by Advanced WP Table
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.89 ▲5.16 | 73.84 ▲29.31 |
Dashboard /wp-admin | 8.91 ▲5.34 | 74.77 ▲20.17 |
Posts /wp-admin/edit.php | 8.91 ▲5.23 | 81.16 ▲27.56 |
Add New Post /wp-admin/post-new.php | 9.60 ▲3.45 | 112.54 ▼2.57 |
Media Library /wp-admin/upload.php | 8.91 ▲5.42 | 67.58 ▲27.57 |
Freemius Debug [v.2.5.8] /wp-admin/admin.php?page=freemius | 8.91 | 65.00 |
Server storage [IO: ▲3.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 185 new files
Database: no new tables, 10 new options
New WordPress options |
---|
db_upgraded |
fs_debug_mode |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
fs_accounts |
fs_active_plugins |
advanced_wp_table_db_version |
Browser metrics Passed 4 tests
A check of browser resources used by Advanced WP Table
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲57 | 14.34 ▼0.05 | 1.80 ▼0.09 | 30.14 ▼9.80 |
Dashboard /wp-admin | 2,221 ▲44 | 5.57 ▲0.01 | 90.22 ▼1.31 | 41.67 ▼0.72 |
Posts /wp-admin/edit.php | 2,130 ▲27 | 2.03 ▼0.01 | 42.38 ▲4.24 | 37.45 ▼0.42 |
Add New Post /wp-admin/post-new.php | 1,550 ▲19 | 18.26 ▼4.90 | 646.17 ▼54.80 | 53.37 ▲9.35 |
Media Library /wp-admin/upload.php | 1,432 ▲35 | 4.23 ▲0.06 | 99.26 ▼39.63 | 42.77 ▼13.31 |
Freemius Debug [v.2.5.8] /wp-admin/admin.php?page=freemius | 1,066 | 1.71 | 27.89 | 27.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/advanced-wp-table/includes/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie WordPress options were found after uninstall: 10 options
- widget_theysaidso_widget
- fs_debug_mode
- theysaidso_admin_options
- db_upgraded
- advanced_wp_table_db_version
- widget_recent-posts
- fs_active_plugins
- fs_accounts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-wp-table/includes/class-advanced-wp-table-list.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: gutenberg table, wp table, table, advanced wp table, responsive table
advanced-wp-table/advanced-wp-table.php Passed 13 tests
The principal PHP file in "Advanced WP Table" v. 1.3.2 is loaded by WordPress automatically on each request
52 characters long description:
An easy to use plugin to create tables in WordPress.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin33,356 lines of code in 140 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 121 | 8,038 | 17,361 | 33,106 |
JavaScript | 4 | 34 | 59 | 195 |
CSS | 15 | 3 | 1 | 55 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
These items need your attention
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,079)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 88.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,079.00 |
Average method complexity | 4.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 51 | |
▷ Abstract classes | 2 | 3.92% |
▷ Concrete classes | 49 | 96.08% |
▷ Final classes | 0 | 0.00% |
Methods | 1,279 | |
▷ Static methods | 199 | 15.56% |
▷ Public methods | 889 | 69.51% |
▷ Protected methods | 17 | 1.33% |
▷ Private methods | 373 | 29.16% |
Functions | 96 | |
▷ Named functions | 96 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 148 | |
▷ Global constants | 101 | 68.24% |
▷ Class constants | 47 | 31.76% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
includes/freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
includes/freemius/assets/img/advanced-wp-table.png | 9.16KB | 5.26KB | ▼ 42.58% |