84% list-plugin-details

Code Review | List Plugin Details

WordPress plugin List Plugin Details scored84%from 54 tests.

About plugin

  • Plugin page: list-plugin-details
  • Plugin version: 1.0.2
  • PHP compatiblity: 7.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0+
  • WordPress version: 6.3.1
  • First release: Apr 3, 2021
  • Latest release: Aug 10, 2023
  • Number of updates: 9
  • Update frequency: every 97.9 days
  • Top authors: kybernetikservices (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /771 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.15MB] [CPU: ▼7.97ms] Passed 4 tests

An overview of server-side resources used by List Plugin Details
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0938.51 ▼1.58
Dashboard /wp-admin3.49 ▲0.1545.91 ▼17.04
Posts /wp-admin/edit.php3.61 ▲0.2548.54 ▲5.49
Add New Post /wp-admin/post-new.php6.08 ▲0.1983.67 ▼15.11
Media Library /wp-admin/upload.php3.42 ▲0.1935.48 ▲1.86
Settings /wp-admin/edit.php?post_type=wpo_plugin&page=lpi3.3830.83
All WPO Plugins /wp-admin/edit.php?post_type=wpo_plugin3.4636.33
Add New /wp-admin/post-new.php?post_type=wpo_plugin3.5045.73

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for List Plugin Details
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,848 ▲6214.18 ▼0.382.14 ▲0.4544.39 ▲4.14
Dashboard /wp-admin2,226 ▲465.65 ▼0.0192.03 ▲6.9136.68 ▼8.35
Posts /wp-admin/edit.php2,131 ▲312.02 ▲0.0040.84 ▲4.6536.18 ▲2.20
Add New Post /wp-admin/post-new.php1,562 ▲3618.29 ▼4.83589.98 ▼103.4174.83 ▲19.91
Media Library /wp-admin/upload.php1,434 ▲344.23 ▲0.0394.80 ▼12.6143.20 ▼4.18
Settings /wp-admin/edit.php?post_type=wpo_plugin&page=lpi1,1112.0022.7030.11
All WPO Plugins /wp-admin/edit.php?post_type=wpo_plugin1,1041.9932.0528.84
Add New /wp-admin/post-new.php?post_type=wpo_plugin1,6803.5564.4231.24

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget

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 | 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
  • 14× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function number_format_i18n() in wp-content/plugins/list-plugin-details/templates/wpo-showcase-block.php:8
    • > PHP Notice
      Undefined variable: args in wp-content/plugins/list-plugin-details/templates/wpo-showcase-block.php on line 4
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/list-plugin-details/templates/wpo-showcase-block.php on line 5
    • > PHP Notice
      Undefined variable: args in wp-content/plugins/list-plugin-details/templates/wpo-showcase-block.php on line 5
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/list-plugin-details/templates/wpo-showcase.php on line 2
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/list-plugin-details/templates/wpo-showcase-block.php on line 2
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/list-plugin-details/templates/wpo-showcase-block.php on line 3
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/list-plugin-details/templates/wpo-showcase-block.php on line 6
    • > PHP Notice
      Undefined variable: args in wp-content/plugins/list-plugin-details/templates/wpo-showcase.php on line 2
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/list-plugin-details/templates/wpo-showcase-block.php on line 4

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% 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
These attributes need your attention:
  • Contributors: Plugin contributors not specified
You can look at the official readme.txt

list-plugin-details/list-plugin-details.php 92% from 13 tests

Analyzing the main PHP file in "List Plugin Details" version 1.0.2
You should first fix the following items:
  • Description: Please keep the plugin description shorter than 140 characters (currently 196 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
There were no executable files found in this plugin961 lines of code in 15 files:
LanguageFilesBlank linesComment linesLines of code
PHP11292497911
Markdown126039
XML10010
Sass1001
CSS1010

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.45
Average class complexity18.50
▷ Minimum class complexity2.00
▷ Maximum class complexity47.00
Average method complexity3.28
▷ Minimum method complexity1.00
▷ Maximum method complexity26.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
Methods46
▷ Static methods1123.91%
▷ Public methods3780.43%
▷ Protected methods00.00%
▷ Private methods919.57%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.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
No PNG images were found in this plugin