Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.82ms] Passed 4 tests
Server-side resources used by WP RSlogin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.21 ▲3.19 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.88 ▼1.48 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.37 ▼4.88 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 85.21 ▼18.72 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 40.10 ▲1.81 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP RSlogin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,118 ▲357 | 14.08 ▼0.31 | 12.26 ▲10.70 | 47.11 ▼1.22 |
Dashboard /wp-admin | 2,259 ▲79 | 5.60 ▲0.02 | 75.02 ▼16.15 | 41.85 ▼6.35 |
Posts /wp-admin/edit.php | 2,171 ▲71 | 2.21 ▲0.20 | 38.53 ▲2.16 | 42.36 ▲3.46 |
Add New Post /wp-admin/post-new.php | 1,528 ▼0 | 23.62 ▲0.91 | 662.96 ▲16.68 | 59.15 ▲9.62 |
Media Library /wp-admin/upload.php | 1,479 ▲79 | 4.42 ▲0.24 | 94.80 ▼16.58 | 41.42 ▼4.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
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
Good news, no errors were detected
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 fix the following items
- 13× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-rslogin/wp-rslogin.php on line 11
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-rslogin/wp-rslogin.php on line 12
- > PHP Warning
include_once(ABSPATHWPINC/pluggable.php): failed to open stream: No such file or directory in wp-content/plugins/wp-rslogin/wp-rslogin.php on line 11
- > PHP Warning
include_once(ABSPATHWPINC/query.php): failed to open stream: No such file or directory in wp-content/plugins/wp-rslogin/wp-rslogin.php on line 12
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-rslogin/wp-rslogin.php on line 13
- > PHP Warning
include_once(ABSPATHWPINC/link-template.php): failed to open stream: No such file or directory in wp-content/plugins/wp-rslogin/wp-rslogin.php on line 13
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-rslogin/wp-rslogin.php on line 12
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-rslogin/wp-rslogin.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-rslogin/wp-rslogin.php:16
- > PHP Warning
include_once(): Failed opening 'ABSPATHWPINC/pluggable.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-rslogin/wp-rslogin.php on line 11
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== wp-rslogin ===
)
wp-rslogin/wp-rslogin.php Passed 13 tests
This is the main PHP file of "WP RSlogin" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
104 characters long description:
An elegant jQuery Ajax Wordpress plugin that helps your users login without touching in the admin panel.
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
No dangerous file extensions were detected217 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 47 | 24 | 194 |
CSS | 1 | 8 | 0 | 22 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin