80% superb-tables

Code Review | Superb WordPress Table (SEO Optimized Tables With Schema)

WordPress plugin Superb WordPress Table (SEO Optimized Tables With Schema) scored80%from 54 tests.

About plugin

  • Plugin page: superb-tables
  • Plugin version: 1.1.4
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-6.1
  • WordPress version: 6.3.1
  • First release: Mar 5, 2019
  • Latest release: May 18, 2023
  • Number of updates: 30
  • Update frequency: every 51.2 days
  • Top authors: suplugins (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

5,000+ active /76,814 total downloads

Benchmarks

Plugin footprint 65% 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.17MB] [CPU: ▼5.62ms] Passed 4 tests

This is a short check of server-side resources used by Superb WordPress Table (SEO Optimized Tables With Schema)
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.59 ▲0.1342.61 ▼1.63
Dashboard /wp-admin3.50 ▲0.1654.56 ▼14.40
Posts /wp-admin/edit.php3.62 ▲0.2648.32 ▼1.97
Add New Post /wp-admin/post-new.php6.08 ▲0.2090.95 ▼4.49
Media Library /wp-admin/upload.php3.43 ▲0.2037.83 ▲0.05

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 21 new files
Database: 1 new table, 7 new options
New tables
wp_spbtbl
New WordPress options
spbtbl_db_version
db_upgraded
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

Superb WordPress Table (SEO Optimized Tables With Schema): an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,806 ▲2014.28 ▼0.031.95 ▼0.1344.53 ▲0.18
Dashboard /wp-admin2,195 ▲155.58 ▼0.1199.00 ▲6.1574.24 ▲29.15
Posts /wp-admin/edit.php2,118 ▲182.01 ▼0.0434.17 ▼4.7731.19 ▼6.31
Add New Post /wp-admin/post-new.php1,692 ▲16122.66 ▼0.84774.75 ▲115.1454.10 ▼7.55
Media Library /wp-admin/upload.php1,406 ▲64.25 ▲0.04103.42 ▼7.6673.20 ▲27.10

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • Zombie tables were found after uninstall: 1 table
    • wp_spbtbl
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • spbtbl_db_version
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: tables, content tables, table, wordpress, responsive tables

superb-tables/superb-tables.php Passed 13 tests

The primary PHP file in "Superb WordPress Table (SEO Optimized Tables With Schema)" version 1.1.4 is used by WordPress to initiate all plugin functionality
131 characters long description:
Responsive & SEO Optimized tables. Get your Google Featured Snippets. Different table designs, table shortcodes & lightweight code.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin1,462 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
PHP8178413991
JavaScript270142462
CSS2008
SVG1001

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.45
Average class complexity20.86
▷ Minimum class complexity1.00
▷ Maximum class complexity94.00
Average method complexity3.60
▷ Minimum method complexity1.00
▷ Maximum method complexity23.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods54
▷ Static methods11.85%
▷ Public methods4685.19%
▷ Protected methods11.85%
▷ Private methods712.96%
Functions3
▷ Named functions266.67%
▷ Anonymous functions133.33%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.47MB with 0.25MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
img/banner-1544x500.png237.47KB105.03KB▼ 55.77%
img/cross.png0.18KB0.21KB0.00%
admin_notification/src/preview.png185.49KB59.75KB▼ 67.79%
img/icon-256x256.png36.83KB17.76KB▼ 51.76%
img/icon.png15.74KB0.68KB▼ 95.70%