90% simplify-firstname-as-nickname-for-buddyboss

Code Review | Simplify Firstname as Nickname for BuddyBoss

WordPress plugin Simplify Firstname as Nickname for BuddyBoss scored90%from 54 tests.

About plugin

  • Plugin page: simplify-firstnam...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.6
  • WordPress version: 6.3.1
  • First release: Feb 16, 2021
  • Latest release: Feb 16, 2021
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: xavierdeveloper (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active /842 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

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

Server-side resources used by Simplify Firstname as Nickname for BuddyBoss
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.50 ▼0.47
Dashboard /wp-admin3.31 ▲0.0146.98 ▼12.07
Posts /wp-admin/edit.php3.36 ▲0.0150.24 ▼0.46
Add New Post /wp-admin/post-new.php5.89 ▲0.0190.43 ▼12.23
Media Library /wp-admin/upload.php3.24 ▲0.0138.39 ▲5.47

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

Simplify Firstname as Nickname for BuddyBoss: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲6713.28 ▼1.101.61 ▼0.0341.75 ▼0.80
Dashboard /wp-admin2,203 ▲155.88 ▲0.99110.61 ▲6.4243.08 ▲1.30
Posts /wp-admin/edit.php2,092 ▼02.01 ▼0.0238.84 ▼1.0535.81 ▲0.17
Add New Post /wp-admin/post-new.php1,533 ▲1023.27 ▲0.35654.94 ▼15.3954.20 ▼1.85
Media Library /wp-admin/upload.php1,388 ▼04.19 ▲0.0194.94 ▼6.3241.37 ▼3.10

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success

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 Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: login, buddyboss, register

simplify-firstname-as-nickname-for-buddyboss/simplify-firstname-as-nickname-for-buddyboss.php Passed 13 tests

The principal PHP file in "Simplify Firstname as Nickname for BuddyBoss" v. 1.0.0 is loaded by WordPress automatically on each request
100 characters long description:
This plugin simplifies the process of registration of a new user by removing the 'First Name' field.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin32 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1142529
CSS1003

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.36
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 functions266.67%
▷ Anonymous functions133.33%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
No PNG files were detected