84% user-meta-profile-list

Code Review | User Meta Profile List

WordPress plugin User Meta Profile List scored 84% from 54 tests.

About plugin

  • Plugin page: user-meta-profile...
  • Plugin version: 0...
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9-4.1.1
  • WordPress version: 6.3.1
  • First release: Mar 10, 2015
  • Latest release: Mar 10, 2015
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: richymilo (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,289 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
Install script ran successfully

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

Analyzing server-side resources used by User Meta Profile List
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0134.71 ▼6.94
Dashboard /wp-admin3.31 ▲0.0143.31 ▼6.66
Posts /wp-admin/edit.php3.36 ▲0.0144.44 ▲1.96
Add New Post /wp-admin/post-new.php5.91 ▲0.0383.18 ▼8.39
Media Library /wp-admin/upload.php3.23 ▲0.0136.39 ▲5.67
User Meta Profile Options /wp-admin/options-general.php?page=user-meta-profile-list/admin.php3.2431.68

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by User Meta Profile List
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,808 ▲7313.28 ▼1.101.63 ▼0.1540.57 ▼0.46
Dashboard /wp-admin2,211 ▲205.80 ▼0.0894.82 ▼7.0936.60 ▼12.72
Posts /wp-admin/edit.php2,100 ▲142.02 ▲0.0337.22 ▲2.0833.51 ▲2.49
Add New Post /wp-admin/post-new.php1,521 ▼123.04 ▼0.27634.98 ▲3.2855.34 ▲2.07
Media Library /wp-admin/upload.php1,393 ▲84.22 ▼0.04112.78 ▲18.7547.95 ▲6.38
User Meta Profile Options /wp-admin/options-general.php?page=user-meta-profile-list/admin.php1,1682.0334.7532.29

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
You still need to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts

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 everything seems fine, this is not 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
The following issues need your attention
  • 2× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/user-meta-profile-list/list_user_meta.php:35
    • > PHP Fatal error
      Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/user-meta-profile-list/admin.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: user meta, user list display, user

user-meta-profile-list/list_user_meta.php 85% from 13 tests

The main PHP file in "User Meta Profile List" ver. 0... adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("user-meta-profile-list.php" instead of "list_user_meta.php")
  • Version: The version number should be digits and periods (ex. "1.0.3" instead of "0...")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin626 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript18114437
PHP2177106
CSS110083

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.34
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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
img/switch.png3.01KB0.64KB▼ 78.70%