84% custom-admin-url

Code Review | Custom WP-Admin URL

WordPress plugin Custom WP-Admin URL scored84%from 54 tests.

About plugin

  • Plugin page: custom-admin-url
  • Plugin version: test...
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-3.9.1
  • WordPress version: 6.3.1
  • First release: Jun 30, 2014
  • Latest release: Jun 30, 2014
  • Number of updates: 4
  • Update frequency: every 0.3 days
  • Top authors: nuxrif (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

200+ active /9,873 total downloads


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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.04MB] [CPU: ▼4.65ms] Passed 4 tests

A check of server-side resources used by Custom WP-Admin URL
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0436.93 ▼4.28
Dashboard /wp-admin3.35 ▲0.0446.73 ▼5.69
Posts /wp-admin/edit.php3.40 ▲0.0445.82 ▼1.73
Add New Post /wp-admin/post-new.php5.93 ▲0.0491.74 ▼6.89
Media Library /wp-admin/upload.php3.27 ▲0.0433.83 ▲1.56

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for Custom WP-Admin URL
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲5314.74 ▲0.011.98 ▲0.3137.01 ▼7.49
Dashboard /wp-admin2,198 ▲235.61 ▼0.1693.51 ▼25.9540.44 ▼9.95
Posts /wp-admin/edit.php2,100 ▼01.96 ▼0.0638.99 ▼0.1634.55 ▼1.66
Add New Post /wp-admin/post-new.php1,526 ▼023.30 ▲0.31636.08 ▼43.4850.27 ▲3.39
Media Library /wp-admin/upload.php1,394 ▼64.14 ▼0.0797.48 ▼0.0340.14 ▼0.52

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments

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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/custom-admin-url/custom-admin-url.php:174

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
  • Donate link: Invalid URI found ("")
The official readme.txt is a good inspiration

custom-admin-url/custom-admin-url.php 92% from 13 tests

This is the main PHP file of "Custom WP-Admin URL" version test..., providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
  • Version: The version number should be digits and periods (ex. "1.0.3" instead of "test...")

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
Success! There were no dangerous files found in this plugin125 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.73
Average class complexity45.00
▷ Minimum class complexity45.00
▷ Maximum class complexity45.00
Average method complexity7.29
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods7100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin