10% aasigninwidget

Code Review | AA Signin Widget

WordPress plugin AA Signin Widget scored 10% from 54 tests.

About plugin

  • Plugin page: aasigninwidget
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.0
  • WordPress version: 5.8.1
  • First release: Oct 9, 2014
  • Latest release: Nov 17, 2014
  • Number of updates: 13
  • Update frequency: every 3.0 days
  • Top authors: aaextention (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 979 total downloads


Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
  • Install procedure had errors
    • > Deprecated in wp-content/plugins/aasigninwidget/aasignin.php+131
    Function create_function() is deprecated

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

This is a short check of server-side resources used by AA Signin Widget
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /1.79 ▼1.045.45 ▼21.94
Dashboard /wp-admin1.81 ▼1.253.35 ▼33.68
Posts /wp-admin/edit.php1.81 ▼1.304.23 ▼30.26
Add New Post /wp-admin/post-new.php1.81 ▼3.633.55 ▼963.11
Media Library /wp-admin/upload.php1.81 ▼1.203.49 ▼27.88

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 1 new option
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for AA Signin Widget
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,666 ▼1915.73 ▼0.347.79 ▲2.3369.69 ▼5.02
Dashboard /wp-admin2,933 ▲376.10 ▼0.06120.54 ▼5.19183.63 ▲15.01
Posts /wp-admin/edit.php2,740 ▼33.22 ▼0.0062.22 ▼1.16136.77 ▼1.91
Add New Post /wp-admin/post-new.php3,645 ▼9618.41 ▲0.03420.97 ▼53.12157.21 ▼1.67
Media Library /wp-admin/upload.php1,752 ▼05.56 ▲0.02147.97 ▼9.66181.42 ▼24.03

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • This plugin did not uninstall without warnings or errors
    • > Deprecated in wp-content/plugins/aasigninwidget/aasignin.php+131
    Function create_function() is deprecated
  • The uninstall procedure has failed, leaving 1 option in the database
    • widget_aa_login_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/aasigninwidget/aasignin.php:26

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected


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: signin widget, signup, signin, aaextention, aaextension...

aasigninwidget/aasignin.php 92% from 13 tests

The main PHP script in "AA Signin Widget" version 1.0 is automatically included on every request by WordPress
It is important to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("aasigninwidget.php" instead of "aasignin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected106 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.10
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.50
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions2100.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
PNG images were not found in this plugin