90% white-label-wp-login-page

Code Review | WP Admin White Label WordPress Login Page

WordPress plugin WP Admin White Label WordPress Login Page scored90%from 54 tests.

About plugin

  • Plugin page: white-label-wp-lo...
  • Plugin version: 1.0.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-5.3
  • WordPress version: 6.3.1
  • First release: Oct 13, 2017
  • Latest release: Dec 3, 2019
  • Number of updates: 27
  • Update frequency: every 29.4 days
  • Top authors: ozancanakli (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

40+ active /1,848 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

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

An overview of server-side resources used by WP Admin White Label WordPress Login Page
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0042.54 ▲0.40
Dashboard /wp-admin3.31 ▲0.0150.40 ▼7.25
Posts /wp-admin/edit.php3.36 ▲0.0050.69 ▲2.73
Add New Post /wp-admin/post-new.php5.89 ▲0.0094.20 ▼4.32
Media Library /wp-admin/upload.php3.23 ▲0.0040.02 ▲6.52

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for WP Admin White Label WordPress Login Page
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,888 ▲12714.41 ▲0.132.01 ▲0.1351.30 ▲6.96
Dashboard /wp-admin2,221 ▲184.87 ▼0.01116.61 ▲5.9845.18 ▲2.54
Posts /wp-admin/edit.php2,100 ▼02.04 ▲0.0336.93 ▼3.0337.63 ▲3.37
Add New Post /wp-admin/post-new.php1,533 ▼623.45 ▲0.48671.72 ▲34.0790.29 ▲38.19
Media Library /wp-admin/upload.php1,400 ▼34.16 ▼0.13112.88 ▲6.3448.84 ▼0.94

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • 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
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
The SRP test was a success

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)
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: wp login, login page, admin, white label, login...

white-label-wp-login-page/white-label-wp-login-page.php 92% from 13 tests

The entry point to "WP Admin White Label WordPress Login Page" version 1.0.4 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected270 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
CSS1290179
JavaScript16035
PHP3123234
SVG10022

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.08
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes1100.00%
Methods2
▷ Static methods2100.00%
▷ Public methods2100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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