Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲5.74MB] [CPU: ▲36.28ms] 75% from 4 tests
Analyzing server-side resources used by WP Table Builder - WordPress Table Plugin
The following require your attention
- Extra RAM: Try to keep extra memory usage under 5MB (currently 5.74MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.21 ▲5.75 | 73.18 ▲28.90 |
Dashboard /wp-admin | 9.23 ▲5.89 | 87.90 ▲26.45 |
Posts /wp-admin/edit.php | 9.23 ▲5.87 | 102.09 ▲58.42 |
Add New Post /wp-admin/post-new.php | 11.34 ▲5.45 | 119.24 ▲31.33 |
Media Library /wp-admin/upload.php | 9.23 ▲6.00 | 95.05 ▲65.11 |
Welcome Page /wp-admin/admin.php?page=wp-table-builder-welcome | 9.23 | 78.28 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.23 | 91.40 |
Server storage [IO: ▲9.62MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 1,952 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
fs_active_plugins |
widget_theysaidso_widget |
fs_accounts |
wptb_review_notify |
fs_debug_mode |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Table Builder - WordPress Table Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,962 ▲215 | 14.42 ▲0.05 | 1.65 ▼0.01 | 27.28 ▼13.63 |
Dashboard /wp-admin | 2,361 ▲184 | 6.11 ▲0.51 | 121.89 ▲33.20 | 45.28 ▲8.25 |
Posts /wp-admin/edit.php | 2,328 ▲228 | 3.36 ▲1.38 | 55.61 ▲19.25 | 38.20 ▲6.26 |
Add New Post /wp-admin/post-new.php | 1,676 ▲140 | 20.00 ▼3.17 | 663.73 ▲42.71 | 37.36 ▼11.84 |
Media Library /wp-admin/upload.php | 1,429 ▲29 | 4.02 ▼0.20 | 92.63 ▼6.24 | 50.22 ▲7.66 |
Welcome Page /wp-admin/admin.php?page=wp-table-builder-welcome | 1,566 | 9.66 | 256.18 | 108.36 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,264 | 3.12 | 38.00 | 25.04 |
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
Please fix the following items
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/wp-table-builder/inc/core/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 10 options in the database
- fs_active_plugins
- db_upgraded
- fs_accounts
- widget_recent-comments
- fs_debug_mode
- widget_theysaidso_widget
- wptb_review_notify
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Please fix the following items
- 13× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/wp-table-builder/inc/admin/views/builder/icons/half-filled-rating-star-small.php
- > /wp-content/plugins/wp-table-builder/inc/admin/views/builder/icons/left_align.php
- > /wp-content/plugins/wp-table-builder/inc/admin/views/builder/icons/not-filled-rating-star-small.php
- > /wp-content/plugins/wp-table-builder/inc/admin/views/builder/icons/text.php
- > /wp-content/plugins/wp-table-builder/inc/admin/views/builder/icons/half-filled-rating-star.php
- > /wp-content/plugins/wp-table-builder/inc/admin/views/builder/icons/filled-rating-star-small.php
- > /wp-content/plugins/wp-table-builder/inc/admin/views/builder/icons/image.php
- > /wp-content/plugins/wp-table-builder/inc/frontend/views/html-wp-table-builder-public-display.php
- > /wp-content/plugins/wp-table-builder/inc/admin/views/builder/icons/center_align.php
- > /wp-content/plugins/wp-table-builder/inc/admin/class-wptb-listing.php
- 31× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Table_Builder\\Inc\\Admin\\Element_Classes\\Base\\Dummy_Element_base' not found in wp-content/plugins/wp-table-builder/inc/admin/element-classes/elements/icon-element.php:15
- > PHP Fatal error
Uncaught Error: Class 'WP_Table_Builder\\Inc\\Admin\\Element_Classes\\Base\\Dummy_Element_base' not found in wp-content/plugins/wp-table-builder/inc/admin/element-classes/elements/progress-bar-element.php:15
- > PHP Fatal error
Uncaught Error: Interface 'WP_Table_Builder\\Inc\\Common\\Interfaces\\Factory' not found in wp-content/plugins/wp-table-builder/inc/common/factory/class-dom-document-factory.php:12
- > PHP Fatal error
Uncaught Error: Undefined constant 'NS\\WP_TABLE_BUILDER_DIR' in wp-content/plugins/wp-table-builder/inc/admin/views/builder/additional-element.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/wp-table-builder/inc/admin/views/builder/wptb-builder-table-setup.php:52
- > PHP Fatal error
Uncaught Error: Class 'WP_Table_Builder\\Inc\\Admin\\Base\\Dummy_Control_Base' not found in wp-content/plugins/wp-table-builder/inc/admin/controls/dummy-controls/control-spacing-dummy.php:12
- > PHP Warning
require_once(ABSPATH/wp-admin/includes/class-wp-upgrader-skin.php): failed to open stream: No such file or directory in wp-content/plugins/wp-table-builder/inc/admin/managers/version-control-upgrader-skin.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wp-table-builder/inc/admin/views/builder/wptb-builder-left-panel.php:15
- > PHP Fatal error
Uncaught Error: Class 'WP_Table_Builder\\Inc\\Admin\\Element_Classes\\Base\\Dummy_Element_base' not found in wp-content/plugins/wp-table-builder/inc/admin/element-classes/elements/styled-list-element.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wp-table-builder/inc/admin/views/builder/wptb-header-toolbox.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
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
3 plugin tags: table builder, table, drag and drop
wp-table-builder/wp-table-builder.php Passed 13 tests
This is the main PHP file of "WP Table Builder - WordPress Table Plugin" version 1.4.13, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
60 characters long description:
Drag and Drop Responsive Table Builder Plugin for WordPress.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected53,008 lines of code in 1,845 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 276 | 10,794 | 23,279 | 44,687 |
JavaScript | 76 | 679 | 773 | 4,455 |
SVG | 1,460 | 4 | 1 | 2,074 |
CSS | 30 | 290 | 61 | 1,549 |
PO File | 1 | 81 | 96 | 207 |
JSON | 1 | 0 | 0 | 34 |
Markdown | 1 | 1 | 0 | 2 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 29.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 3.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 17 | |
Interfaces | 1 | |
Traits | 4 | |
Classes | 171 | |
▷ Abstract classes | 15 | 8.77% |
▷ Concrete classes | 156 | 91.23% |
▷ Final classes | 0 | 0.00% |
Methods | 1,885 | |
▷ Static methods | 317 | 16.82% |
▷ Public methods | 1,361 | 72.20% |
▷ Protected methods | 90 | 4.77% |
▷ Private methods | 434 | 23.02% |
Functions | 132 | |
▷ Named functions | 102 | 77.27% |
▷ Anonymous functions | 30 | 22.73% |
Constants | 219 | |
▷ Global constants | 106 | 48.40% |
▷ Class constants | 113 | 51.60% |
▷ Public constants | 113 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
21 PNG files occupy 0.18MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/admin/views/builder/icons/text.png | 0.56KB | 0.55KB | ▼ 1.93% |
assets/images/what-is-new/table_pagination.png | 8.63KB | 3.33KB | ▼ 61.40% |
inc/admin/views/builder/icons/list.png | 0.53KB | 0.58KB | 0.00% |
assets/images/1.png | 1.29KB | 1.04KB | ▼ 19.77% |
assets/images/what-is-new/table_search.png | 9.06KB | 3.53KB | ▼ 61.04% |