10% wp-super-login

Code Review | Wp Super Login

WordPress plugin Wp Super Login scored10%from 54 tests.

About plugin

  • Plugin page: wp-super-login
  • Plugin version: 1.5.3
  • PHP version: 7.4.16
  • WordPress compatibility: 2.9-4.3.1
  • WordPress version: 6.3.1
  • First release: Mar 11, 2015
  • Latest release: Nov 24, 2015
  • Number of updates: 38
  • Update frequency: every 6.8 days
  • Top authors: truser (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

10+ active /4,428 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
  • The plugin cannot be installed
    • > Parse error in wp-content/plugins/wp-super-login/login.php+2170
    syntax error, unexpected end of file

Server metrics [RAM: ▲0.00MB] [CPU: ▼6.29ms] Passed 4 tests

An overview of server-side resources used by Wp Super Login
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0044.19 ▲5.81
Dashboard /wp-admin3.31 ▲0.0042.31 ▼7.84
Posts /wp-admin/edit.php3.36 ▲0.0045.96 ▼1.51
Add New Post /wp-admin/post-new.php5.89 ▲0.0081.66 ▼13.19
Media Library /wp-admin/upload.php3.23 ▲0.0032.03 ▼2.61

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

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

Browser metrics Passed 4 tests

Wp Super Login: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6514.48 ▲0.101.81 ▼0.0640.75 ▼1.66
Dashboard /wp-admin2,209 ▲244.86 ▼0.9999.59 ▼3.4540.80 ▼4.51
Posts /wp-admin/edit.php2,086 ▼62.04 ▲0.0835.83 ▼5.4432.43 ▼1.81
Add New Post /wp-admin/post-new.php1,533 ▲1323.36 ▲0.12678.11 ▼23.6354.53 ▼13.26
Media Library /wp-admin/upload.php1,388 ▲34.23 ▼0.0494.76 ▼14.3341.56 ▼2.59

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Parse error
      syntax error, unexpected end of file in wp-content/plugins/wp-super-login/login.php on line 2170

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
  • Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
You can look at the official readme.txt

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

Analyzing the main PHP file in "Wp Super Login" version 1.5.3
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-super-login.php" instead of "login.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin9,255 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript28379447,288
PHP13181421,710
CSS14125257

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.76
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%
Functions12
▷ Named functions12100.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
No PNG images were found in this plugin