80% table-maker

Code Review | Table Maker

WordPress plugin Table Maker scored80%from 54 tests.

About plugin

  • Plugin page: table-maker
  • Plugin version: 1.9.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.9.1
  • WordPress version: 6.3.1
  • First release: Nov 18, 2015
  • Latest release: Mar 13, 2021
  • Number of updates: 31
  • Update frequency: every 62.7 days
  • Top authors: wpsoul (93.55%)perrinalexandre05 (9.68%)

Code review

54 tests

User reviews

42 reviews

Install metrics

10,000+ active /154,836 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.18MB] [CPU: ▼7.24ms] Passed 4 tests

This is a short check of server-side resources used by Table Maker
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.65 ▲0.1934.59 ▼7.94
Dashboard /wp-admin3.49 ▲0.1843.01 ▼7.21
Posts /wp-admin/edit.php3.60 ▲0.2444.58 ▼4.01
Add New Post /wp-admin/post-new.php6.07 ▲0.1884.47 ▼9.81
Media Library /wp-admin/upload.php3.41 ▲0.1840.23 ▲3.98

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
db_upgraded
wpsm_db_table_version
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Table Maker
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,817 ▲8213.29 ▼0.961.68 ▼0.1439.71 ▼9.22
Dashboard /wp-admin2,224 ▲425.99 ▲0.14100.08 ▼1.5778.78 ▲36.66
Posts /wp-admin/edit.php2,107 ▲182.02 ▲0.0133.73 ▼2.2034.41 ▼0.13
Add New Post /wp-admin/post-new.php1,680 ▲14722.62 ▼0.46741.45 ▲62.1455.35 ▼0.48
Media Library /wp-admin/upload.php1,406 ▲154.13 ▼0.0696.68 ▼6.5879.55 ▲36.99

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • The plugin did not uninstall gracefully
    • > Deprecated in wp-includes/class-wp-hook.php+310
    Non-static method WPSM_Table_Maker::rollback() should not be called statically
  • Zombie WordPress options detected upon uninstall: 7 options
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded
    • wpsm_db_table_version

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors 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)
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: pricing tables, table generator, pricing table maker, comparison tables, top list table...

table-maker/table-maker.php 92% from 13 tests

"Table Maker" version 1.9.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,392 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
PHP510227766
JavaScript37248426
PO File18284180
SVG10018
CSS2002

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.39
Average class complexity36.75
▷ Minimum class complexity1.00
▷ Maximum class complexity130.00
Average method complexity4.25
▷ Minimum method complexity1.00
▷ Maximum method complexity56.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods44
▷ Static methods12.27%
▷ Public methods3784.09%
▷ Protected methods00.00%
▷ Private methods715.91%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
4 compressed PNG files occupy 0.00MB
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
img/editor_hor_badge.png2.59KB2.66KB0.00%
img/cross.png0.18KB0.21KB0.00%
img/editor_badge.png1.48KB1.52KB0.00%
img/icon.png0.30KB0.46KB0.00%