Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-content/plugins/magical-login/admin/tabs.php+7
include_once(/var/www/wordpress/wp-content/plugins/magical-login/admin/tab-stlyes.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼1.67MB] [CPU: ▼328.27ms] Passed 4 tests
Server-side resources used by Magical Login
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.96 ▼0.88 | 6.57 ▼24.76 |
Dashboard /wp-admin | 1.98 ▼1.08 | 10.56 ▼37.33 |
Posts /wp-admin/edit.php | 1.98 ▼1.13 | 6.84 ▼34.66 |
Add New Post /wp-admin/post-new.php | 1.98 ▼3.45 | 7.86 ▼1,210.50 |
Media Library /wp-admin/upload.php | 1.98 ▼1.03 | 7.96 ▼30.60 |
Magical Login /wp-admin/options-general.php/eex_up_magical_login_ | 1.98 | 7.23 |
Server storage [IO: ▲0.07MB] [DB: ▲0.05MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 4 new options
New WordPress options |
---|
eex_up_email_login_alowed |
eex_up_username_login_alowed |
eex_up_username_recovery_alowed |
eex_up_email_recovery_alowed |
Browser metrics Passed 4 tests
An overview of browser requirements for Magical Login
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,659 ▲53 | 16.13 ▲0.56 | 7.28 ▼0.30 | 45.11 ▲2.85 |
Dashboard /wp-admin | 2,940 ▲84 | 6.06 ▲0.22 | 135.10 ▼10.14 | 99.82 ▼6.89 |
Posts /wp-admin/edit.php | 2,716 ▲10 | 2.69 ▼0.00 | 63.99 ▼8.32 | 78.33 ▼19.62 |
Add New Post /wp-admin/post-new.php | 1,860 ▲207 | 18.76 ▼0.04 | 370.64 ▲2.81 | 110.44 ▲6.43 |
Media Library /wp-admin/upload.php | 1,782 ▲7 | 5.01 ▼0.03 | 155.83 ▲0.66 | 113.17 ▼9.97 |
Magical Login /wp-admin/options-general.php/eex_up_magical_login_ | 4,748 | 2.12 | 65.18 | 170.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/magical-login/admin/tabs.php+7
include_once(/var/www/wordpress/wp-content/plugins/magical-login/admin/tab-stlyes.php): failed to open stream: No such file or directory
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php/eex_up_magical_login_
- > Warning in wp-content/plugins/magical-login/admin/tabs.php+7
include_once(/var/www/wordpress/wp-content/plugins/magical-login/admin/tab-stlyes.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/options-general.php/eex_up_magical_login_
- > Warning in wp-content/plugins/magical-login/admin/tabs.php+7
include_once(): Failed opening '/var/www/wordpress/wp-content/plugins/magical-login/admin/tab-stlyes.php' for inclusion (include_path='.:/usr/share/php')
- > GET request to /wp-admin/options-general.php/eex_up_magical_login_
- > Notice in wp-content/plugins/magical-login/character.php+8
Undefined index: page
- > GET request to /wp-admin/options-general.php/eex_up_magical_login_
- > User deprecated in wp-includes/functions.php+5211
sanitize_url is deprecated since version 2.8.0! Use esc_url_raw() instead.
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 take a closer look at the following
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/magical-login/character.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/magical-login/admin/tab-setting.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/magical-login/globals.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/magical-login/shortcode.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/magical-login/magical-login.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/magical-login/admin/menu.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/magical-login/admin/tabs.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/magical-login/global/db.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: form, login, recovery, user, password...
magical-login/magical-login.php 92% from 13 tests
The primary PHP file in "Magical Login" version 1.0.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin1,392 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 94 | 140 | 1,319 |
CSS | 3 | 4 | 7 | 54 |
JavaScript | 1 | 5 | 5 | 19 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.73 |
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 | 38 | |
▷ Named functions | 38 | 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 1 test
Image compression Passed 1 test
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin