Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/aasigninwidget/aasignin.php+131
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼57.07ms] Passed 4 tests
Server-side resources used by AA Signin Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 8.76 ▼44.24 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.70 ▼46.61 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.09 ▼43.63 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.40 ▼93.81 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.48 ▼32.58 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_aa_login_widget |
theysaidso_admin_options |
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 / | 2,789 ▲3 | 14.69 ▲0.00 | 1.74 ▼0.67 | 40.65 ▼3.72 |
Dashboard /wp-admin | 2,192 ▲15 | 5.74 ▲0.07 | 87.02 ▼2.17 | 39.50 ▲0.43 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 1.97 ▼0.02 | 34.33 ▼3.66 | 34.89 ▼1.58 |
Add New Post /wp-admin/post-new.php | 1,531 ▲2 | 23.23 ▲0.06 | 643.17 ▼9.55 | 50.94 ▼10.15 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.23 ▲0.00 | 103.74 ▼1.07 | 44.39 ▼1.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/aasigninwidget/aasignin.php+131
Function create_function() is deprecated
- Zombie WordPress options detected upon uninstall: 7 options
- widget_aa_login_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > 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 smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: signup, login, aaextension, signin widget, signin...
aasigninwidget/aasignin.php 92% from 13 tests
"AA Signin Widget" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as 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
Success! There were no dangerous files found in this plugin106 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
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
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
No PNG files were detected