83% full-name-search-in-wp-admin

Code Review | User First Name / Full Name Search In WP-admin

WordPress plugin User First Name / Full Name Search In WP-admin scored 83% from 54 tests.

About plugin

  • Plugin page: full-name-search-...
  • Plugin version: 2.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-4.9.6
  • WordPress version: 6.3.1
  • First release: Jan 28, 2015
  • Latest release: Jun 17, 2018
  • Number of updates: 22
  • Update frequency: every 56.3 days
  • Top authors: merajneesh (100%)

Code review

54 tests

User reviews

8 reviews

Install metrics

100+ active / 3,793 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.02MB] [CPU: ▼1.73ms] Passed 4 tests

Server-side resources used by User First Name / Full Name Search In WP-admin
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0237.30 ▼6.90
Dashboard /wp-admin3.32 ▲0.0247.15 ▲0.73
Posts /wp-admin/edit.php3.37 ▲0.0248.12 ▼2.11
Add New Post /wp-admin/post-new.php5.90 ▲0.02135.20 ▲36.23
Media Library /wp-admin/upload.php3.24 ▲0.0136.22 ▲1.36

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
db_upgraded
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for User First Name / Full Name Search In WP-admin
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6514.48 ▼0.101.54 ▼0.3038.15 ▼6.04
Dashboard /wp-admin2,209 ▲214.86 ▼1.03111.81 ▲5.2045.45 ▲2.09
Posts /wp-admin/edit.php2,086 ▼32.05 ▲0.0136.08 ▼6.2729.38 ▼11.59
Add New Post /wp-admin/post-new.php1,533 ▲1923.29 ▲5.46640.65 ▲12.4377.74 ▲14.43
Media Library /wp-admin/upload.php1,388 ▼04.29 ▲0.0693.90 ▼1.2541.11 ▼0.04

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options

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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/full-name-search-in-wp-admin/firstname-fullname-user-search-in-wp-admin.php:16

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% 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:
  • Plugin Name: You should set the name of your plugin on the first line ( === full-name-search-in-wp-admin === )
  • Donate link: Please fix this invalid url: ""
The official readme.txt might help

full-name-search-in-wp-admin/firstname-fullname-user-search-in-wp-admin.php 92% from 13 tests

The entry point to "User First Name / Full Name Search In WP-admin" version 2.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("full-name-search-in-wp-admin.php" instead of "firstname-fullname-user-search-in-wp-admin.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
Success! There were no dangerous files found in this plugin57 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1341957

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.48
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin