89% super-custom-login

Code Review | Super Custom Login

WordPress plugin Super Custom Login scored89%from 54 tests.

About plugin

  • Plugin page: super-custom-login
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-6.2
  • WordPress version: 6.3.1
  • First release: Oct 19, 2012
  • Latest release: Apr 2, 2023
  • Number of updates: 37
  • Update frequency: every 103.2 days
  • Top authors: Obadiah (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /9,655 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▼2.42ms] Passed 4 tests

A check of server-side resources used by Super Custom Login
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0534.54 ▼1.54
Dashboard /wp-admin3.38 ▲0.0744.03 ▼0.92
Posts /wp-admin/edit.php3.43 ▲0.0743.81 ▼2.53
Add New Post /wp-admin/post-new.php5.96 ▲0.0789.11 ▼2.16
Media Library /wp-admin/upload.php3.30 ▲0.0731.91 ▼3.46
Super Custom Login /wp-admin/options-general.php?page=super-custom-login3.2733.74

Server storage [IO: ▲0.02MB] [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: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for Super Custom Login
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5814.51 ▼0.131.71 ▼0.2140.02 ▼1.16
Dashboard /wp-admin2,210 ▲194.85 ▼0.03109.13 ▲1.9841.58 ▼5.49
Posts /wp-admin/edit.php2,093 ▲11.96 ▼0.0339.95 ▼1.9836.31 ▼4.85
Add New Post /wp-admin/post-new.php1,541 ▲2723.23 ▼0.10602.82 ▼51.2850.93 ▼4.47
Media Library /wp-admin/upload.php1,395 ▲74.23 ▼0.0196.91 ▼8.0342.24 ▲0.45
Super Custom Login /wp-admin/options-general.php?page=super-custom-login1,0392.0321.9730.16

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% 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
Attributes that require attention:
  • Tags: There are too many tags (19 tag instead of maximum 10)
You can look at the official readme.txt

super-custom-login/super-custom-login.php 92% from 13 tests

The main file in "Super Custom Login" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
  • Description: Please don't use more than 140 characters for the plugin description (currently 184 characters long)

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
There were no executable files found in this plugin257 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP11227257

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.17
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%
Functions11
▷ Named functions11100.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