Benchmarks
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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.79 ▼1.04 | 5.45 ▼21.94 |
Dashboard /wp-admin | 1.81 ▼1.25 | 3.35 ▼33.68 |
Posts /wp-admin/edit.php | 1.81 ▼1.30 | 4.23 ▼30.26 |
Add New Post /wp-admin/post-new.php | 1.81 ▼3.63 | 3.55 ▼963.11 |
Media Library /wp-admin/upload.php | 1.81 ▼1.20 | 3.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 |
---|
widget_aa_login_widget |
Browser metrics Passed 4 tests
Checking browser requirements for AA Signin Widget
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,666 ▼19 | 15.73 ▼0.34 | 7.79 ▲2.33 | 69.69 ▼5.02 |
Dashboard /wp-admin | 2,933 ▲37 | 6.10 ▼0.06 | 120.54 ▼5.19 | 183.63 ▲15.01 |
Posts /wp-admin/edit.php | 2,740 ▼3 | 3.22 ▼0.00 | 62.22 ▼1.16 | 136.77 ▼1.91 |
Add New Post /wp-admin/post-new.php | 3,645 ▼96 | 18.41 ▲0.03 | 420.97 ▼53.12 | 157.21 ▼1.67 |
Media Library /wp-admin/upload.php | 1,752 ▼0 | 5.56 ▲0.02 | 147.97 ▼9.66 | 181.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
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
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: 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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 42 | 52 | 106 |
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 code | 0.10 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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