77% master-table-for-elementor

Code Review | Master Table for Elementor

WordPress plugin Master Table for Elementor scored77%from 54 tests.

About plugin

  • Plugin page: master-table-for-...
  • Plugin version: 1.0.2.2
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.3
  • WordPress version: 6.3.1
  • First release: Mar 10, 2020
  • Latest release: Aug 23, 2023
  • Number of updates: 10
  • Update frequency: every 126.1 days
  • Top authors: Litonice13 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,895 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.70MB] [CPU: ▲1,130.37ms] 50% from 4 tests

An overview of server-side resources used by Master Table for Elementor
Please have a look at the following items
  • CPU: The total CPU usage must kept under 500.00ms (currently 1,290.27ms on /wp-admin/admin.php?page=master-table-for-elementor-recommended-plugins)
  • Extra CPU: Try to keep extra CPU usage under 200.00ms (currently 1,130.37ms on /wp-admin/admin.php?page=master-table-for-elementor-recommended-plugins)
PageMemory (MB)CPU Time (ms)
Home /4.12 ▲0.66631.13 ▲591.47
Dashboard /wp-admin4.17 ▲0.861,686.42 ▲1,636.70
Posts /wp-admin/edit.php4.10 ▲0.741,369.99 ▲1,323.42
Add New Post /wp-admin/post-new.php6.58 ▲0.701,389.60 ▲1,294.07
Media Library /wp-admin/upload.php3.94 ▲0.711,347.76 ▲1,312.50
Recommended /wp-admin/admin.php?page=master-table-for-elementor-recommended-plugins3.911,290.27

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 46 new files
Database: no new tables, 13 new options
New WordPress options
jlt_elementor_master_table_notice_ask_for_rating
jlt_elementor_master_table_notice_subscribe
jlt_elementor_master_table_activation_time
db_upgraded
master_table_for_elementor_version
widget_recent-posts
widget_theysaidso_widget
jlt_elementor_master_table_sheet_promo_data_hash
can_compress_scripts
widget_recent-comments
...

Browser metrics Passed 4 tests

Checking browser requirements for Master Table for Elementor
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,747 ▼2413.61 ▼0.896.99 ▲4.9713.15 ▼33.25
Dashboard /wp-admin2,391 ▲2034.90 ▼0.96112.77 ▲9.0042.38 ▼2.65
Posts /wp-admin/edit.php2,202 ▲1132.09 ▲0.0437.78 ▼2.7038.97 ▼0.77
Add New Post /wp-admin/post-new.php1,615 ▲6921.88 ▲3.57636.38 ▼16.9767.92 ▲12.97
Media Library /wp-admin/upload.php1,499 ▲1144.25 ▲0.0896.08 ▼3.8442.74 ▼2.53
Recommended /wp-admin/admin.php?page=master-table-for-elementor-recommended-plugins1,2691.8731.0531.19

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 13 options
    • widget_recent-posts
    • jlt_elementor_master_table_activation_time
    • jlt_elementor_master_table_notice_subscribe
    • db_upgraded
    • jlt_elementor_master_table_sheet_promo_data_hash
    • master_table_for_elementor_version
    • widget_recent-comments
    • jlt_elementor_master_table_notice_ask_for_rating
    • jlt_elementor_master_table_notice_what_we_collect
    • can_compress_scripts
    • ...

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
  • 8× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'JLTELMT\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/master-table-for-elementor/Inc/Classes/Notifications/What_We_Collect.php:13
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/master-table-for-elementor/master-table-for-elementor.php:21
    • > PHP Fatal error
      Uncaught Error: Class 'JLTELMT\\Inc\\Classes\otifications\\Model\\Popup' not found in wp-content/plugins/master-table-for-elementor/Inc/Classes/Notifications/Upgrade_Notice.php:14
    • > PHP Fatal error
      Uncaught Error: Class 'JLTELMT\\Libs\\Recommended' not found in wp-content/plugins/master-table-for-elementor/Inc/Classes/Recommended_Plugins.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'JLTELMT\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/master-table-for-elementor/Inc/Classes/Notifications/Subscribe.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'JLTELMT\\Libs\\Upgrader' not found in wp-content/plugins/master-table-for-elementor/Inc/Classes/Upgrade_Plugin.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'JLTELMT\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/master-table-for-elementor/Inc/Classes/Notifications/Ask_For_Rating.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'JLTELMT\\Libs\\RowLinks' not found in wp-content/plugins/master-table-for-elementor/Inc/Classes/Row_Links.php:12

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
    • > GET request to /wp-admin/admin.php?page=master-table-for-elementor-recommended-plugins
    • > Network (severe)
    https://ps.w.org/ultimate-blocks-for-gutenberg/assets/icon-128x128.png - Failed to load resource: the server responded with a status of 404 ()

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: pricing table, comparison table, elementor table, data tables, responsive table...

master-table-for-elementor/master-table-for-elementor.php 85% from 13 tests

Analyzing the main PHP file in "Master Table for Elementor" version 1.0.2.2
Please take the time to fix the following:
  • Domain Path: Prefix the domain path with a forward slash character ("/languages/")
  • Domain Path: You should use only dashes and lowercase characters for the domain path ("languages/")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected4,695 lines of code in 44 files:
LanguageFilesBlank linesComment linesLines of code
PHP388991,4893,870
CSS412730671
JavaScript2159154

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity11.45
▷ Minimum class complexity1.00
▷ Maximum class complexity47.00
Average method complexity2.51
▷ Minimum method complexity1.00
▷ Maximum method complexity24.00
Code structure
Namespaces9
Interfaces0
Traits2
Classes27
▷ Abstract classes414.81%
▷ Concrete classes2385.19%
▷ Final classes14.35%
Methods203
▷ Static methods3215.76%
▷ Public methods19897.54%
▷ Protected methods31.48%
▷ Private methods20.99%
Functions9
▷ Named functions555.56%
▷ Anonymous functions444.44%
Constants18
▷ Global constants1583.33%
▷ Class constants316.67%
▷ Public constants3100.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.18MB with 0.18MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
(invalid) assets/images/promo-image.png185.79KB0.00KB▼ 100.00%