83% extra-user-details

Code Review | Extra User Details

WordPress plugin Extra User Details scored 83% from 54 tests.

About plugin

  • Plugin page: extra-user-details
  • Plugin version: 0.5.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-6.2.2
  • WordPress version: 6.3.1
  • First release: Dec 1, 2009
  • Latest release: Jun 5, 2023
  • Number of updates: 45
  • Update frequency: every 109.7 days
  • Top authors: Vadimk (100%)

Code review

54 tests

User reviews

10 reviews

Install metrics

2,000+ active / 52,964 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

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

Analyzing server-side resources used by Extra User Details
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0137.24 ▼5.57
Dashboard /wp-admin3.32 ▲0.0145.11 ▼7.07
Posts /wp-admin/edit.php3.37 ▲0.0147.80 ▲5.77
Add New Post /wp-admin/post-new.php5.89 ▲0.0182.55 ▼19.92
Media Library /wp-admin/upload.php3.24 ▲0.0134.75 ▼1.95
Extra User Details /wp-admin/users.php?page=extra-user-details3.2129.07

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Extra User Details
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,891 ▲13414.13 ▼0.478.74 ▲6.4941.68 ▼9.23
Dashboard /wp-admin2,204 ▲334.83 ▼0.99102.41 ▼16.8837.34 ▼10.67
Posts /wp-admin/edit.php2,094 ▲192.06 ▲0.0639.80 ▲1.4834.63 ▼1.66
Add New Post /wp-admin/post-new.php1,536 ▲1023.42 ▲0.26696.43 ▲68.4238.29 ▼15.21
Media Library /wp-admin/upload.php1,386 ▼24.25 ▲0.0696.35 ▼1.7345.99 ▲3.01
Extra User Details /wp-admin/users.php?page=extra-user-details8631.9629.1026.72

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
  • The uninstall procedure has failed, leaving 7 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • eud_fields
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting 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 items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/extra-user-details/extra_user_details.php:17

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
  • Tags: Please delete some tags, you are using 18 tag instead of maximum 10
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === extra-user-details === )
You can take inspiration from this readme.txt

extra-user-details/extra_user_details.php 92% from 13 tests

The principal PHP file in "Extra User Details" v. 0.5.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("extra-user-details.php" instead of "extra_user_details.php")

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 detected758 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP19158399
PO File381105359

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.60
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%
Functions15
▷ Named functions15100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.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
There were not PNG files found in your plugin