83% table-builder

Code Review |

WordPress plugin scored83%from 54 tests.

About plugin

  • Plugin page: table-builder
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-6.0
  • WordPress version: 6.3.1
  • First release: Feb 5, 2020
  • Latest release: Jul 14, 2022
  • Number of updates: 8
  • Update frequency: every 111.4 days
  • Top authors: tablebuilder (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /931 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.11MB] [CPU: ▼4.47ms] Passed 4 tests

This is a short check of server-side resources used by
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1239.02 ▼2.78
Dashboard /wp-admin3.41 ▲0.1148.67 ▼2.29
Posts /wp-admin/edit.php3.53 ▲0.1745.89 ▼1.99
Add New Post /wp-admin/post-new.php5.99 ▲0.1185.24 ▼10.82
Media Library /wp-admin/upload.php3.34 ▲0.1135.60 ▲2.58
Table Builder - CrawlSpider /wp-admin/options-general.php?page=icdb-datatable-builder3.3041.29

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 12 new options
New WordPress options
icdb_excerpt_length
can_compress_scripts
icdb_table_shortcode
widget_recent-comments
icdb_column_property
db_upgraded
icdb_table_seq
widget_theysaidso_widget
icdb_header_style
theysaidso_admin_options
...

Browser metrics Passed 4 tests

Checking browser requirements for
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,892 ▲15714.20 ▲0.0210.26 ▲8.2339.82 ▼7.47
Dashboard /wp-admin2,210 ▲194.85 ▼1.05103.76 ▼7.8040.84 ▼4.71
Posts /wp-admin/edit.php2,096 ▲72.00 ▼0.0135.58 ▲0.6632.19 ▼1.62
Add New Post /wp-admin/post-new.php1,538 ▲523.31 ▲0.24638.50 ▼40.6851.79 ▼9.73
Media Library /wp-admin/upload.php1,392 ▲44.21 ▲0.0197.23 ▼15.7941.88 ▼3.46
Table Builder - CrawlSpider /wp-admin/options-general.php?page=icdb-datatable-builder1,0662.6852.1561.67

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 75% 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 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
Please take a closer look at the following
  • 2× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/table-builder/public/partials/ic-datatable-builder-public-display.php
    • > /wp-content/plugins/table-builder/admin/partials/ic-datatable-builder-admin-display.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes: The official readme.txt might help

table-builder/ic-datatable-builder.php 85% from 13 tests

This is the main PHP file of "" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("table-builder.php" instead of "ic-datatable-builder.php")
  • Description: The description should be shorter than 140 characters (currently 152 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2,094 lines of code in 22 files:
LanguageFilesBlank linesComment linesLines of code
CSS641791,174
PHP12312572687
JavaScript42056233

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.15
Average class complexity1.43
▷ Minimum class complexity1.00
▷ Maximum class complexity3.00
Average method complexity1.13
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods23
▷ Static methods28.70%
▷ Public methods1878.26%
▷ Protected methods00.00%
▷ Private methods521.74%
Functions27
▷ Named functions27100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/js/datatables/DataTables-1.10.20/images/sort_asc_disabled.png0.14KB0.25KB0.00%
admin/js/datatables/DataTables-1.10.20/images/sort_desc.png0.15KB0.25KB0.00%
admin/js/datatables/DataTables-1.10.20/images/sort_asc.png0.16KB0.25KB0.00%
admin/js/datatables/DataTables-1.10.20/images/sort_both.png0.20KB0.29KB0.00%
admin/js/datatables/DataTables-1.10.20/images/sort_desc_disabled.png0.14KB0.25KB0.00%