84% vendi-abandoned-plugin-check

Code Review | Vendi Abandoned Plugin Check

WordPress plugin Vendi Abandoned Plugin Check scored84%from 54 tests.

About plugin

  • Plugin page: vendi-abandoned-p...
  • Plugin version: 3.7.2
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.4-6.3
  • WordPress version: 6.3.1
  • First release: Oct 30, 2014
  • Latest release: Aug 25, 2023
  • Number of updates: 43
  • Update frequency: every 74.9 days
  • Top authors: chris@vendiadvertising.com (100%)

Code review

54 tests

User reviews

8 reviews

Install metrics

1,000+ active /13,303 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.08MB] [CPU: ▼3.39ms] Passed 4 tests

This is a short check of server-side resources used by Vendi Abandoned Plugin Check
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.65 ▲0.1975.36 ▲33.65
Dashboard /wp-admin3.38 ▲0.0451.72 ▼15.40
Posts /wp-admin/edit.php3.49 ▲0.1452.75 ▲0.93
Add New Post /wp-admin/post-new.php5.96 ▲0.0785.97 ▼3.68
Media Library /wp-admin/upload.php3.30 ▲0.0739.30 ▲4.61

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 8 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_recent-posts
db_upgraded
vendi_option_name_last_daily_run
vendi_abandoned_plugin_version
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

Vendi Abandoned Plugin Check: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.25 ▼0.101.97 ▼0.3043.89 ▼1.87
Dashboard /wp-admin2,198 ▲215.59 ▼0.0893.09 ▼7.0440.29 ▼2.42
Posts /wp-admin/edit.php2,100 ▲32.01 ▲0.0040.33 ▲1.0736.68 ▼4.41
Add New Post /wp-admin/post-new.php1,528 ▲223.18 ▼0.54679.95 ▲48.7162.26 ▲13.14
Media Library /wp-admin/upload.php1,403 ▼04.23 ▲0.04102.24 ▲0.4147.19 ▲4.35

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 7 options
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • vendi_abandoned_plugin_version

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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 server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/vendi-abandoned-plugin-check/vendi-abandoned-plugin-check.php:52

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 Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: abandoned, plugin, admin

vendi-abandoned-plugin-check/vendi-abandoned-plugin-check.php Passed 13 tests

The main PHP file in "Vendi Abandoned Plugin Check" ver. 3.7.2 adds more information about the plugin and also serves as the entry point for this plugin
44 characters long description:
Provides information about abandoned plugins

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected359 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1135158359

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.46
Average class complexity70.00
▷ Minimum class complexity70.00
▷ Maximum class complexity70.00
Average method complexity4.14
▷ Minimum method complexity1.00
▷ Maximum method complexity15.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods22
▷ Static methods00.00%
▷ Public methods1568.18%
▷ Protected methods00.00%
▷ Private methods731.82%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants12
▷ Global constants758.33%
▷ Class constants541.67%
▷ Public constants5100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin