90% remove-suggestions-from-plugin-search-results

Code Review | Remove suggestions from plugin search results

WordPress plugin Remove suggestions from plugin search results scored 90% from 54 tests.

About plugin

  • Plugin page: remove-suggestion...
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.1-6.3
  • WordPress version: 6.3.1
  • First release: Apr 6, 2019
  • Latest release: Sep 23, 2023
  • Number of updates: 21
  • Update frequency: every 77.7 days
  • Top authors: apasionados (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 1,094 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

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

This is a short check of server-side resources used by Remove suggestions from plugin search results
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0234.03 ▼3.40
Dashboard /wp-admin3.31 ▲0.0144.32 ▼1.49
Posts /wp-admin/edit.php3.36 ▲0.0148.35 ▲3.16
Add New Post /wp-admin/post-new.php5.89 ▲0.0184.44 ▼13.09
Media Library /wp-admin/upload.php3.24 ▲0.0136.52 ▲1.52

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by Remove suggestions from plugin search results
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲4314.80 ▲0.421.81 ▼0.0337.83 ▼11.43
Dashboard /wp-admin2,203 ▲125.79 ▲0.91104.40 ▼3.7739.39 ▼2.32
Posts /wp-admin/edit.php2,089 ▼32.05 ▼0.0140.90 ▲6.3234.91 ▲4.41
Add New Post /wp-admin/post-new.php1,538 ▲1223.32 ▲0.19660.02 ▼2.6455.05 ▼5.27
Media Library /wp-admin/upload.php1,388 ▲34.21 ▲0.01107.86 ▲8.4547.50 ▼0.73

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
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

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 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: suggestions, marketplace, woocommerce, notice, promotions...

remove-suggestions-from-plugin-search-results/remove-suggestions-from-plugin-search-results.php 92% from 13 tests

The entry point to "Remove suggestions from plugin search results" version 1.0.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Domain Path: The domain path is invalid: folder "/languages" does not exist

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
Success! There were no dangerous files found in this plugin10 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP222010

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.17
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%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
There are no PNG files in this plugin