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
This plugin's installer ran successfully
Server metrics [RAM: ▲1.99MB] [CPU: ▲7.12ms] Passed 4 tests
A check of server-side resources used by Data Tables Generator by Supsystic
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.52 ▲2.06 | 64.05 ▲21.58 |
Dashboard /wp-admin | 5.33 ▲1.99 | 62.46 ▲1.20 |
Posts /wp-admin/edit.php | 5.38 ▲2.03 | 62.48 ▲10.82 |
Add New Post /wp-admin/post-new.php | 7.87 ▲1.99 | 98.76 ▼5.11 |
Media Library /wp-admin/upload.php | 5.19 ▲1.96 | 60.81 ▲24.74 |
Tables /wp-admin/admin.php?page=supsystic-tables&module=tables | 7.21 | 76.59 |
Settings /wp-admin/admin.php?page=supsystic-tables&module=settings | 7.52 | 69.45 |
Overview /wp-admin/admin.php?page=supsystic-tables&module=overview | 8.24 | 378.73 |
Data Tables by Supsystic /wp-admin/admin.php?page=supsystic-tables | 7.21 | 82.56 |
Server storage [IO: ▲11.20MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 566 new files
Database: 6 new tables, 15 new options
New tables |
---|
wp_supsystic_tbl_columns |
wp_supsystic_tbl_rows_history |
wp_supsystic_tbl_conditions |
wp_supsystic_tbl_diagrams |
wp_supsystic_tbl_rows |
wp_supsystic_tbl_tables |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
supsystic_tbl_welcome_page_was_showed |
stbl_installed |
theysaidso_admin_options |
supsystic_tbl_wooAdsNotice |
wp_supsystic_tbl_plug_welcome_show |
supsystic_tbl_plug_was_used |
widget_theysaidso_widget |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
Data Tables Generator by Supsystic: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,971 ▲210 | 13.61 ▼1.04 | 10.58 ▲9.04 | 39.71 ▼1.43 |
Dashboard /wp-admin | 2,262 ▲85 | 5.80 ▲0.12 | 95.18 ▲10.23 | 40.19 ▼1.14 |
Posts /wp-admin/edit.php | 2,170 ▲70 | 2.17 ▲0.16 | 41.82 ▲3.42 | 32.59 ▼4.20 |
Add New Post /wp-admin/post-new.php | 1,461 ▼65 | 18.62 ▼4.97 | 610.45 ▼93.59 | 31.49 ▼27.93 |
Media Library /wp-admin/upload.php | 1,498 ▲95 | 4.35 ▲0.14 | 99.85 ▼0.06 | 44.44 ▼0.07 |
Add table /wp-admin/admin.php?page=supsystic-tables#add | 1,629 | 10.21 | 321.88 | 99.18 |
Tables /wp-admin/admin.php?page=supsystic-tables&module=tables | 1,797 | 5.04 | 109.73 | 76.27 |
Settings /wp-admin/admin.php?page=supsystic-tables&module=settings | 1,416 | 3.54 | 72.95 | 52.41 |
Overview /wp-admin/admin.php?page=supsystic-tables&module=overview | 2,605 | 21.30 | 546.91 | 53.92 |
Data Tables by Supsystic /wp-admin/admin.php?page=supsystic-tables | 1,794 | 5.01 | 113.14 | 69.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure failed, leaving 6 tables in the database
- wp_supsystic_tbl_rows
- wp_supsystic_tbl_conditions
- wp_supsystic_tbl_tables
- wp_supsystic_tbl_columns
- wp_supsystic_tbl_diagrams
- wp_supsystic_tbl_rows_history
- The uninstall procedure has failed, leaving 14 options in the database
- supsystic_tbl_reviewNotice
- can_compress_scripts
- widget_theysaidso_widget
- supsystic_tbl_welcome_page_was_showed
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- supsystic_tbl_plugin_version
- supsystic_tbl_plug_was_used
- widget_recent-comments
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 | 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
- 203× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Twig_SupTwgDtgs_Node_Expression' not found in wp-content/plugins/data-tables-generator-by-supsystic/vendor/Twig/Node/Expression/Parent.php:18
- > PHP Notice
Undefined variable: table in wp-content/plugins/data-tables-generator-by-supsystic/src/SupsysticTables/Tables/views/shortcode.php on line 19
- > PHP Fatal error
Uncaught Error: Class 'Twig_SupTwgDtgs_Node' not found in wp-content/plugins/data-tables-generator-by-supsystic/vendor/Twig/Node/Expression.php:18
- > PHP Fatal error
Uncaught Error: Class 'Twig_SupTwgDtgs_Node_Expression_Conditional' not found in wp-content/plugins/data-tables-generator-by-supsystic/vendor/Twig/Node/Expression/NullCoalesce.php:11
- > PHP Fatal error
Uncaught Error: Class 'Twig_SupTwgDtgs_Extension' not found in wp-content/plugins/data-tables-generator-by-supsystic/vendor/Twig/Extension/Optimizer.php:15
- > PHP Fatal error
Uncaught Error: Class 'Twig_SupTwgDtgs_Extension' not found in wp-content/plugins/data-tables-generator-by-supsystic/vendor/Twig/Extension/StringLoader.php:15
- > PHP Fatal error
Uncaught Error: Class 'Twig_SupTwgDtgs_Node' not found in wp-content/plugins/data-tables-generator-by-supsystic/vendor/Twig/Node/ForLoop.php:17
- > PHP Fatal error
Uncaught Error: Class 'Twig_SupTwgDtgs_TokenParser' not found in wp-content/plugins/data-tables-generator-by-supsystic/vendor/Twig/TokenParser/From.php:21
- > PHP Fatal error
Uncaught Error: Class 'Twig_SupTwgDtgs_Node_Expression_Binary' not found in wp-content/plugins/data-tables-generator-by-supsystic/vendor/Twig/Node/Expression/Binary/FloorDiv.php:11
- > PHP Fatal error
Uncaught Error: Class 'SupsysticTables_Core_BaseModule' not found in wp-content/plugins/data-tables-generator-by-supsystic/src/SupsysticTables/Woocommerce/Module.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=supsystic-tables
- > Javascript (severe) in unknown
/wp-content/plugins/data-tables-generator-by-supsystic/src/SupsysticTables/Tables/assets/libraries/datetime-moment.js?ver=2.8.4 26:18 Uncaught ReferenceError: moment is not defined
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: data table, line chart, wordpress table plugin, excel, pie chart...
data-tables-generator-by-supsystic/index.php 85% from 13 tests
The primary PHP file in "Data Tables Generator by Supsystic" version 1.10.30 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("data-tables-generator-by-supsystic.php" instead of "index.php")
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin114,371 lines of code in 474 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 93 | 4,366 | 7,969 | 63,001 |
PHP | 295 | 4,413 | 8,769 | 21,843 |
PO File | 18 | 7,297 | 850 | 18,856 |
Twig | 28 | 140 | 8 | 4,045 |
CSS | 33 | 443 | 243 | 3,687 |
SVG | 1 | 0 | 0 | 2,671 |
LESS | 3 | 36 | 4 | 213 |
SQL | 3 | 5 | 0 | 55 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 10.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 265.00 |
Average method complexity | 2.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 89.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 33 | |
Traits | 0 | |
Classes | 257 | |
▷ Abstract classes | 20 | 7.78% |
▷ Concrete classes | 237 | 92.22% |
▷ Final classes | 1 | 0.42% |
Methods | 1,714 | |
▷ Static methods | 65 | 3.79% |
▷ Public methods | 1,484 | 86.58% |
▷ Protected methods | 153 | 8.93% |
▷ Private methods | 77 | 4.49% |
Functions | 57 | |
▷ Named functions | 55 | 96.49% |
▷ Anonymous functions | 2 | 3.51% |
Constants | 64 | |
▷ Global constants | 11 | 17.19% |
▷ Class constants | 53 | 82.81% |
▷ Public constants | 53 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
60 PNG files occupy 0.84MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/SupsysticTables/Overview/assets/img/overview-01.png | 21.29KB | 11.84KB | ▼ 44.39% |
src/SupsysticTables/Tables/assets/libraries/colorpicker/images/custom_hsb_b.png | 1.07KB | 0.82KB | ▼ 23.61% |
app/assets/css/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
src/SupsysticTables/Tables/assets/libraries/colorpicker/images/custom_rgb_r.png | 0.99KB | 0.74KB | ▼ 25.34% |
src/SupsysticTables/Tables/assets/libraries/colorpicker/images/custom_hex.png | 0.55KB | 0.39KB | ▼ 28.11% |