84% aweos-admin-login

Code Review | AWEOS Admin Login

WordPress plugin AWEOS Admin Login scored84%from 54 tests.

About plugin

  • Plugin page: aweos-admin-login
  • Plugin version: 1.5.13
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-6.1
  • WordPress version: 6.3.1
  • First release: May 26, 2018
  • Latest release: Oct 12, 2023
  • Number of updates: 14
  • Update frequency: every 140.9 days
  • Top authors: aweos (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /817 total downloads


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
Install script ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼4.58ms] Passed 4 tests

Server-side resources used by AWEOS Admin Login
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0235.57 ▼2.19
Dashboard /wp-admin3.32 ▲0.0250.15 ▲2.20
Posts /wp-admin/edit.php3.37 ▲0.0244.54 ▼0.35
Add New Post /wp-admin/post-new.php5.90 ▲0.0280.29 ▼12.73
Media Library /wp-admin/upload.php3.24 ▲0.0231.33 ▼3.04

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: 9 new files
Database: no new tables, 7 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for AWEOS Admin Login
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,820 ▲5914.37 ▼0.221.48 ▼0.0427.86 ▼14.73
Dashboard /wp-admin2,211 ▲375.61 ▼0.1193.25 ▲7.1441.46 ▼2.17
Posts /wp-admin/edit.php2,116 ▲161.98 ▲0.0233.04 ▼1.0033.80 ▼2.51
Add New Post /wp-admin/post-new.php1,548 ▲1118.41 ▲0.24592.57 ▼47.3771.73 ▲13.54
Media Library /wp-admin/upload.php1,416 ▲164.19 ▼0.0391.64 ▼20.8141.96 ▼6.48

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • 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 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, 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 take a closer look at the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/aweos-admin-login/texts.php:4

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: login, email, email login, password, without password

aweos-admin-login/aweos-admin-login.php 92% from 13 tests

The entry point to "AWEOS Admin Login" version 1.5.13 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes

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 plugin262 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.20
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions12100.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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
public/logo-white-wp.png9.43KB4.88KB▼ 48.28%