84% wp-post-list-table

Code Review | WP Post List Table

WordPress plugin WP Post List Table scored 84% from 54 tests.

About plugin

  • Plugin page: wp-post-list-table
  • Plugin version: 1.0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3
  • WordPress version: 6.3.1
  • First release: Sep 23, 2016
  • Latest release: Aug 9, 2023
  • Number of updates: 8
  • Update frequency: every 314.1 days
  • Top authors: wpbean (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active / 4,052 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.17MB] [CPU: ▼0.47ms] Passed 4 tests

Server-side resources used by WP Post List Table
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.60 ▲0.1441.62 ▼3.14
Dashboard /wp-admin3.55 ▲0.2454.91 ▲7.09
Posts /wp-admin/edit.php3.60 ▲0.2449.54 ▲3.86
Add New Post /wp-admin/post-new.php6.04 ▲0.1594.49 ▼3.44
Media Library /wp-admin/upload.php3.38 ▲0.1638.10 ▲0.84
Post list settings /wp-admin/options-general.php?page=wpb_post_list_table3.3837.30

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options
wpb_plt_general
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for WP Post List Table
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,983 ▲24814.95 ▲0.772.17 ▲0.4744.60 ▲3.63
Dashboard /wp-admin2,367 ▲1756.65 ▲1.71135.55 ▲30.4940.50 ▼1.89
Posts /wp-admin/edit.php2,273 ▲1843.51 ▲1.5052.23 ▲17.7932.47 ▲1.20
Add New Post /wp-admin/post-new.php1,529 ▲1023.33 ▲0.11579.63 ▼41.5232.53 ▼20.55
Media Library /wp-admin/upload.php1,412 ▲244.53 ▲0.3786.82 ▼18.0442.21 ▼0.16
Post list settings /wp-admin/options-general.php?page=wpb_post_list_table1,1593.4450.8924.40

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • The uninstall procedure has failed, leaving 7 options in the database
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • wpb_plt_general

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 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
The following issues need your attention
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Class 'WPB_PLT_WeDevs_Settings_API' not found in wp-content/plugins/wp-post-list-table/inc/class.settings-fields.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: wp post list, wp post, post list table, wp post table, wp post list table...

wp-post-list-table/main.php 92% from 13 tests

The primary PHP file in "WP Post List Table" version 1.0.3 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-post-list-table.php" instead of "main.php")

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
Good job! No executable or dangerous file extensions detected972 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP4206246667
CSS177158
PO File16464147

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.48
Average class complexity46.67
▷ Minimum class complexity9.00
▷ Maximum class complexity82.00
Average method complexity4.11
▷ Minimum method complexity1.00
▷ Maximum method complexity69.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods44
▷ Static methods00.00%
▷ Public methods44100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
PNG images were not found in this plugin