89% magic-liquidizer-responsive-table

Code Review | Magic Liquidizer Responsive Table

WordPress plugin Magic Liquidizer Responsive Table scored89%from 54 tests.

About plugin

  • Plugin page: magic-liquidizer-...
  • Plugin version: 2.0.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.3
  • WordPress version: 6.3.1
  • First release: Jan 10, 2014
  • Latest release: Nov 18, 2019
  • Number of updates: 57
  • Update frequency: every 37.5 days
  • Top authors: esstat17 (100%)

Code review

54 tests

User reviews

54 reviews

Install metrics

10,000+ active /121,442 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.09MB] [CPU: ▼1.90ms] Passed 4 tests

An overview of server-side resources used by Magic Liquidizer Responsive Table
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0931.52 ▼6.07
Dashboard /wp-admin3.39 ▲0.0946.29 ▼5.38
Posts /wp-admin/edit.php3.50 ▲0.1549.81 ▲2.73
Add New Post /wp-admin/post-new.php5.97 ▲0.0893.36 ▲6.05
Media Library /wp-admin/upload.php3.31 ▲0.0834.04 ▲1.13
About /wp-admin/admin.php?page=magic-liquidizer-about3.2830.74
Table /wp-admin/admin.php?page=magic-liquidizer-table3.2832.48
Setup Wizard /wp-admin/admin.php?page=magic-liquidizer-page-lite3.2830.54

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 11 new options
New WordPress options
widget_recent-comments
db_upgraded
liquidizer_lite_wp_table
widget_recent-posts
liquidizer_lite_header_selector
liquidizer_lite_bodyrow_selector
liquidizer_lite_wp_table_width
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options
...

Browser metrics Passed 4 tests

Magic Liquidizer Responsive Table: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,942 ▲19613.67 ▼0.946.31 ▲4.2737.92 ▼10.20
Dashboard /wp-admin2,237 ▲495.86 ▲0.81109.70 ▼5.8243.69 ▼1.45
Posts /wp-admin/edit.php2,120 ▲312.00 ▲0.0038.96 ▼0.2934.52 ▲0.20
Add New Post /wp-admin/post-new.php1,555 ▲4118.11 ▲0.51614.20 ▼4.2456.52 ▲2.01
Media Library /wp-admin/upload.php1,419 ▲284.26 ▲0.0693.20 ▼15.9542.34 ▼3.34
About /wp-admin/admin.php?page=magic-liquidizer-about8112.0524.2024.66
Table /wp-admin/admin.php?page=magic-liquidizer-table9022.0522.0331.08
Setup Wizard /wp-admin/admin.php?page=magic-liquidizer-page-lite1,0942.0623.6736.67

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files

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 87% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
  • Screenshots: Please a description for screenshot #0 in magic-liquidizer-responsive-table/assets to your readme.txt
  • Screenshots: Add images for these screenshots: #1 (How does your Table look like BEFORE. screenshot-1.png), #2 (Magic Liquidizer Responsive Table - Wordpress Admin Section. screenshot-2.png), #3 (This screenshot was taken from our DEMO page AFTER installation. Client-side screenshot. screenshot-3.png)
The official readme.txt might help

magic-liquidizer-responsive-table/magic-liquidizer-responsive-table.php 85% from 13 tests

"Magic Liquidizer Responsive Table" version 2.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
  • Description: Please don't use more than 140 characters for the plugin description (currently 151 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin516 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
PHP581112346
JavaScript43479123
CSS151047

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity8.00
▷ Minimum class complexity1.00
▷ Maximum class complexity15.00
Average method complexity2.40
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods15
▷ Static methods00.00%
▷ Public methods15100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.24MB with 0.15MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-2.png71.77KB22.63KB▼ 68.47%
screenshot.png87.07KB31.29KB▼ 64.07%
screenshot-1.png60.68KB22.16KB▼ 63.48%
screenshot-3.png23.16KB8.79KB▼ 62.04%