84% make-wp-responsive-table

Code Review | Make WP Responsive Table

WordPress plugin Make WP Responsive Table scored84%from 54 tests.

About plugin

  • Plugin page: make-wp-responsiv...
  • Plugin version: 1.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.2.2
  • WordPress version: 6.3.1
  • First release: Jun 15, 2023
  • Latest release: Jun 15, 2023
  • Number of updates: 10
  • Update frequency: N/A
  • Top authors: ranbac (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /67 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼8.64ms] Passed 4 tests

This is a short check of server-side resources used by Make WP Responsive Table
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0036.85 ▼0.57
Dashboard /wp-admin3.31 ▼0.0444.82 ▼16.98
Posts /wp-admin/edit.php3.36 ▲0.0046.99 ▼0.89
Add New Post /wp-admin/post-new.php5.89 ▲0.0081.91 ▼15.19
Media Library /wp-admin/upload.php3.23 ▲0.0035.97 ▼1.51

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Make WP Responsive Table
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲5613.72 ▼0.961.66 ▼0.0437.85 ▼5.91
Dashboard /wp-admin2,206 ▲184.88 ▲0.00108.40 ▲2.6039.52 ▼7.11
Posts /wp-admin/edit.php2,092 ▲62.04 ▲0.0439.80 ▲1.9434.86 ▼1.08
Add New Post /wp-admin/post-new.php1,530 ▲1618.06 ▲0.60599.84 ▼75.9845.97 ▼8.67
Media Library /wp-admin/upload.php1,388 ▲34.22 ▲0.0195.34 ▼7.2543.04 ▲1.13

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts

Smoke tests 75% from 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 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/make-wp-responsive-table/make-wp-responsive-table.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention: You can look at the official readme.txt

make-wp-responsive-table/make-wp-responsive-table.php Passed 13 tests

The entry point to "Make WP Responsive Table" version 1.0 is a PHP file that has certain tags in its header comment area
59 characters long description:
A custom CSS plugin to make tables responsive in WordPress.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin28 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
CSS14623
PHP1185

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.00
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin