84% table-addons-for-elementor

Code Review | Table Addons for Elementor

WordPress plugin Table Addons for Elementor scored 84% from 54 tests.

About plugin

  • Plugin page: table-addons-for-...
  • Plugin version: 1.3.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-6.1.1
  • WordPress version: 6.3.1
  • First release: May 28, 2019
  • Latest release: Mar 14, 2023
  • Number of updates: 11
  • Update frequency: every 126.2 days
  • Top authors: iqbalbary (100%)

Code review

54 tests

User reviews

13 reviews

Install metrics

10,000+ active / 66,899 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.06MB] [CPU: ▼1.26ms] Passed 4 tests

This is a short check of server-side resources used by Table Addons for Elementor
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0737.98 ▼2.32
Dashboard /wp-admin3.36 ▲0.0648.05 ▲3.42
Posts /wp-admin/edit.php3.47 ▲0.1250.89 ▲2.03
Add New Post /wp-admin/post-new.php5.94 ▲0.0694.52 ▼6.69
Media Library /wp-admin/upload.php3.28 ▲0.0636.30 ▲1.93

Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Table Addons for Elementor
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,820 ▲8514.50 ▲0.131.93 ▲0.0941.45 ▼7.05
Dashboard /wp-admin2,227 ▲395.86 ▲0.99108.28 ▲2.3640.08 ▼7.41
Posts /wp-admin/edit.php2,106 ▲171.99 ▼0.0641.68 ▲1.5136.89 ▼1.41
Add New Post /wp-admin/post-new.php1,548 ▲2023.00 ▼0.15661.08 ▲39.4855.57 ▲2.16
Media Library /wp-admin/upload.php1,406 ▲244.21 ▼0.0497.75 ▼1.1140.38 ▲0.27

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
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/table-addons-for-elementor/includes/class-table-addons-for-elementor-widget.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
  • Plugin Name: Please specify the plugin name on the first line ( === table-addons-for-elementor === )
Please take inspiration from this readme.txt

table-addons-for-elementor/table-addons-for-elementor.php Passed 13 tests

The main file in "Table Addons for Elementor" v. 1.3.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
42 characters long description:
Table extension for elementor page builder

Code Analysis Passed 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 detected843 lines of code in 15 files:
LanguageFilesBlank linesComment linesLines of code
PHP13197559827
CSS10013
JavaScript1103

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.14
Average class complexity3.00
▷ Minimum class complexity1.00
▷ Maximum class complexity9.00
Average method complexity1.49
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes9
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes00.00%
Methods37
▷ Static methods38.11%
▷ Public methods2978.38%
▷ Protected methods38.11%
▷ Private methods513.51%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants133.33%
▷ Class constants266.67%
▷ Public constants2100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin