Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/ajax-login-by-wph/php/widget.php+185
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼56.07ms] Passed 4 tests
Server-side resources used by Ajax Login By WPH
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 5.60 ▼34.84 |
Dashboard /wp-admin | 2.05 ▼1.26 | 4.98 ▼50.16 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.18 ▼44.84 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.97 ▼94.42 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.10 ▼30.43 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_alw_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Ajax Login By WPH
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,952 ▲191 | 14.71 ▲0.36 | 4.54 ▲1.93 | 41.83 ▼1.02 |
Dashboard /wp-admin | 2,346 ▲166 | 6.36 ▲0.75 | 126.38 ▲34.74 | 41.05 ▼1.40 |
Posts /wp-admin/edit.php | 2,277 ▲177 | 3.63 ▲1.60 | 58.01 ▲16.20 | 36.07 ▼2.93 |
Add New Post /wp-admin/post-new.php | 1,538 ▲4 | 23.23 ▲0.31 | 654.26 ▼10.39 | 38.01 ▼13.82 |
Media Library /wp-admin/upload.php | 1,414 ▲11 | 4.35 ▲0.13 | 84.67 ▼16.29 | 46.11 ▼2.63 |
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
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/ajax-login-by-wph/php/widget.php+185
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- theysaidso_admin_options
- widget_alw_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ajax-login-by-wph/templates/alw-popup.php:19
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ajax-login-by-wph/php/widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ajax-login-by-wph/php/functions.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ajax-login-by-wph/php/functions.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Please fix this invalid URI: "kartikworkid@yahoo.in"
ajax-login-by-wph/main.php 77% from 13 tests
Analyzing the main PHP file in "Ajax Login By WPH" version 1.0.0
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 248 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ajax-login-by-wph.php" instead of "main.php")
- Requires at least: Required version must match the one declared in readme.txt ("3.5.0" instead of "4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,184 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 88 | 6 | 608 |
PHP | 4 | 158 | 122 | 575 |
JavaScript | 1 | 0 | 3 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There were not PNG files found in your plugin