10% aspexi-easy-login-url

Code Review | Aspexi Easy Login URL

WordPress plugin Aspexi Easy Login URL scored 10% from 54 tests.

About plugin

  • Plugin page: aspexi-easy-login...
  • Plugin version: 1.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-3.4.2
  • WordPress version: 6.3.1
  • First release: Oct 7, 2012
  • Latest release: Oct 7, 2012
  • Number of updates: 8
  • Update frequency: N/A
  • Top authors: cih997 (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

40+ active / 4,214 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
  • Install procedure had errors
    • > Deprecated in wp-content/plugins/aspexi-easy-login-url/index.php+28
    Methods with the same name as their class will not be constructors in a future version of PHP; AELURL has a deprecated constructor

Server metrics [RAM: ▼1.84MB] [CPU: ▼55.63ms] Passed 4 tests

Server-side resources used by Aspexi Easy Login URL
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.15 ▼1.314.79 ▼36.39
Dashboard /wp-admin2.17 ▼1.135.16 ▼41.23
Posts /wp-admin/edit.php2.17 ▼1.185.83 ▼48.55
Add New Post /wp-admin/post-new.php2.17 ▼3.715.61 ▼96.34
Media Library /wp-admin/upload.php2.17 ▼1.065.87 ▼29.14
Easy Login URL /wp-admin/options-general.php?page=aelurl2.176.26

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for Aspexi Easy Login URL
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,060 ▲32514.15 ▼0.2414.37 ▲12.7740.22 ▼6.39
Dashboard /wp-admin2,207 ▲195.80 ▲0.7295.96 ▼11.1039.53 ▼4.14
Posts /wp-admin/edit.php2,096 ▲72.01 ▼0.0238.71 ▼7.9435.39 ▼2.45
Add New Post /wp-admin/post-new.php1,536 ▼018.60 ▼4.58614.19 ▼108.7558.40 ▼7.63
Media Library /wp-admin/upload.php1,392 ▲44.20 ▲0.0996.59 ▼26.9443.13 ▼11.80
Easy Login URL /wp-admin/options-general.php?page=aelurl9872.0323.7838.38

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Uninstall procedure validation failed for this plugin
    • > Deprecated in wp-content/plugins/aspexi-easy-login-url/index.php+28
    Methods with the same name as their class will not be constructors in a future version of PHP; AELURL has a deprecated constructor
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=aelurl
    • > Deprecated in wp-content/plugins/aspexi-easy-login-url/index.php+28
    Methods with the same name as their class will not be constructors in a future version of PHP; AELURL has a deprecated constructor
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=aelurl
    • > Notice in wp-content/plugins/aspexi-easy-login-url/index.php+37
    Undefined index: settings-updated
    • > GET request to /wp-admin/options-general.php?page=aelurl
    • > Deprecated in wp-includes/class-wp-hook.php+310
    Non-static method AELURL::backend() should not be called statically
    • > GET request to /wp-admin/options-general.php?page=aelurl
    • > Deprecated in wp-content/plugins/aspexi-easy-login-url/index.php+279
    Non-static method AELURL::reset_maybe() should not be called statically
    • > GET request to /wp-admin/options-general.php?page=aelurl
    • > Notice in wp-content/plugins/aspexi-easy-login-url/index.php+240
    Undefined index: reset
    • > GET request to /wp-admin/options-general.php?page=aelurl
    • > Deprecated in wp-content/plugins/aspexi-easy-login-url/index.php+313
    Non-static method AELURL::htaccess_preview() should not be called statically
    • > GET request to /wp-admin/options-general.php?page=aelurl
    • > Deprecated in wp-content/plugins/aspexi-easy-login-url/index.php+316
    Non-static method AELURL::reset_url() should not be called statically

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
  • 3× PHP files trigger server errors when accessed directly:
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/aspexi-easy-login-url/index.php on line 371
    • > PHP Fatal error
      require_once(): Failed opening required 'ABSPATHwp-admin/includes/file.php' (include_path='.:/usr/share/php') in wp-content/plugins/aspexi-easy-login-url/index.php on line 371
    • > PHP Warning
      require_once(ABSPATHwp-admin/includes/file.php): failed to open stream: No such file or directory in wp-content/plugins/aspexi-easy-login-url/index.php on line 371

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
    • > GET request to /wp-admin/options-general.php?page=aelurl
    • > Network (severe)
    wp-content/plugins/easyloginurl/images/aspexi300.png - Failed to load resource: the server responded with a status of 404 (Not Found)

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
Please fix the following attributes:
  • Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
The official readme.txt is a good inspiration

aspexi-easy-login-url/index.php 92% from 13 tests

The main PHP file in "Aspexi Easy Login URL" ver. 1.1.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("aspexi-easy-login-url.php" instead of "index.php")

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

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity30.00
▷ Minimum class complexity30.00
▷ Maximum class complexity30.00
Average method complexity2.44
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods19
▷ Static methods00.00%
▷ Public methods19100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
images/aspexi300.png26.93KB11.76KB▼ 56.33%