10% wp-search-user-by-website-url

Code Review | WP Search User By Website Url

WordPress plugin WP Search User By Website Url scored 10% from 54 tests.

About plugin

  • Plugin page: wp-search-user-by...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-4.1.1
  • WordPress version: 6.3.1
  • First release: Apr 20, 2015
  • Latest release: May 3, 2015
  • Number of updates: 3
  • Update frequency: every 6.3 days
  • Top authors: smitkalwal (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 609 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
  • Install procedure had errors
    • > Compile error in wp-content/plugins/wp-search-user-by-website-url/WSUWU.php+36
    Cannot use $this as parameter

Server metrics [RAM: ▲0.00MB] [CPU: ▼3.32ms] Passed 4 tests

An overview of server-side resources used by WP Search User By Website Url
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0035.51 ▼7.05
Dashboard /wp-admin3.31 ▲0.0046.83 ▼3.02
Posts /wp-admin/edit.php3.36 ▲0.0045.45 ▼3.78
Add New Post /wp-admin/post-new.php5.89 ▲0.0095.55 ▲2.75
Media Library /wp-admin/upload.php3.23 ▲0.0036.50 ▲0.56

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
db_upgraded
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

A check of browser resources used by WP Search User By Website Url
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.56 ▼0.791.73 ▼0.1239.45 ▼5.63
Dashboard /wp-admin2,206 ▲174.87 ▼0.09106.44 ▼7.7041.54 ▲0.29
Posts /wp-admin/edit.php2,089 ▲32.03 ▲0.0238.72 ▲3.8236.06 ▲1.40
Add New Post /wp-admin/post-new.php1,540 ▲523.24 ▲0.22621.09 ▲24.0654.48 ▼0.62
Media Library /wp-admin/upload.php1,388 ▲34.34 ▲0.0397.03 ▼1.8141.36 ▼0.75

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
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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 fix the following
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Cannot use $this as parameter in wp-content/plugins/wp-search-user-by-website-url/WSUWU.php on line 36

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: plugin, users, wp user, search user, wp search website...

wp-search-user-by-website-url/WSUWU.php 92% from 13 tests

The entry point to "WP Search User By Website Url" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-search-user-by-website-url.php" instead of "WSUWU.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin25 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP211925

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.14
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%
Functions3
▷ Named functions3100.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 were not PNG files found in your plugin