Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.04MB] [CPU: ▲6.58ms] Passed 4 tests
A check of server-side resources used by AJAX Login and Registration modal popup + inline form
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.49 ▲1.02 | 53.73 ▲9.26 |
Dashboard /wp-admin | 4.39 ▲1.08 | 63.92 ▲8.74 |
Posts /wp-admin/edit.php | 4.44 ▲1.08 | 64.29 ▲10.75 |
Add New Post /wp-admin/post-new.php | 6.91 ▲1.02 | 110.11 ▼2.45 |
Media Library /wp-admin/upload.php | 4.25 ▲1.02 | 50.23 ▲11.79 |
Login/Register modal /wp-admin/options-general.php?page=login-and-register-popup | 4.27 | 48.68 |
Server storage [IO: ▲4.23MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 353 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
lrm_version |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for AJAX Login and Registration modal popup + inline form
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲91 | 14.41 ▲0.44 | 1.85 ▼0.33 | 39.79 ▲0.40 |
Dashboard /wp-admin | 2,255 ▲81 | 5.56 ▼0.10 | 84.87 ▼6.13 | 39.19 ▼3.33 |
Posts /wp-admin/edit.php | 2,162 ▲83 | 2.14 ▲0.15 | 42.05 ▲1.82 | 38.14 ▲7.11 |
Add New Post /wp-admin/post-new.php | 1,580 ▲54 | 17.92 ▼5.39 | 634.45 ▼64.15 | 66.42 ▲11.29 |
Media Library /wp-admin/upload.php | 1,461 ▲64 | 4.18 ▼0.07 | 100.49 ▼13.08 | 47.84 ▼0.78 |
Login/Register modal /wp-admin/options-general.php?page=login-and-register-popup | 1,181 | 2.06 | 29.58 | 44.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- lrm_version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
- 15× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/ajax-login-and-registration-modal-popup/views/admin/settings-section/how-to-integrate-inline.php
- > /wp-content/plugins/ajax-login-and-registration-modal-popup/views/admin/settings-section/how-to-integrate-modal.php
- > /wp-content/plugins/ajax-login-and-registration-modal-popup/vendor/max-kk/wp-skins-customizer/includes/class-wp-skins-manager-abstract.php
- > /wp-content/plugins/ajax-login-and-registration-modal-popup/views/admin-go-to-pro.php
- > /wp-content/plugins/ajax-login-and-registration-modal-popup/views/admin-free_version_compatible.php
- > /wp-content/plugins/ajax-login-and-registration-modal-popup/views/admin/settings-section/go-to-pro.php
- > /wp-content/plugins/ajax-login-and-registration-modal-popup/vendor/max-kk/wp-notice-lib/class-admin-dismissible-notice.php
- > /wp-content/plugins/ajax-login-and-registration-modal-popup/views/form.php
- > /wp-content/plugins/ajax-login-and-registration-modal-popup/views/admin/settings-section/how-to-integrate.php
- > /wp-content/plugins/ajax-login-and-registration-modal-popup/views/loader.php
- 48× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ajax-login-and-registration-modal-popup/views/admin/settings-page.php:1
- > PHP Notice
Undefined variable: users_can_register in wp-content/plugins/ajax-login-and-registration-modal-popup/views/form-parts/register.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p4_DebugBar_Panel' not found in wp-content/plugins/ajax-login-and-registration-modal-popup/vendor/plugin-update-checker/Puc/v4p4/DebugBar/PluginPanel.php:5
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p4_Vcs_Api' not found in wp-content/plugins/ajax-login-and-registration-modal-popup/vendor/plugin-update-checker/Puc/v4p4/Vcs/GitLabApi.php:5
- > PHP Warning
Use of undefined constant LRM_ASSETS_URL - assumed 'LRM_ASSETS_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/ajax-login-and-registration-modal-popup/views/admin/settings-section/how-to-integrate-modal.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function lrm_setting() in wp-content/plugins/ajax-login-and-registration-modal-popup/views/form-parts/lost-password.php:5
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p4_UpdateChecker' not found in wp-content/plugins/ajax-login-and-registration-modal-popup/vendor/plugin-update-checker/Puc/v4p4/Theme/UpdateChecker.php:5
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ajax-login-and-registration-modal-popup/vendor/max-kk/wp-notice-lib/views/admin-notice.php:1
- > PHP Fatal error
Uncaught Error: Class 'LRM_Settings' not found in wp-content/plugins/ajax-login-and-registration-modal-popup/views/restore-password.php:8
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p4_DebugBar_Extension' not found in wp-content/plugins/ajax-login-and-registration-modal-popup/vendor/plugin-update-checker/Puc/v4p4/DebugBar/PluginExtension.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: ajax, register, registration, popup, login...
ajax-login-and-registration-modal-popup/ajax-login-registration-modal-popup.php 85% from 13 tests
Analyzing the main PHP file in "AJAX Login and Registration modal popup + inline form" version 2.23
The following require your attention:
- Git Repository: Please remove the Git repository from this plugin
- Main file name: The principal plugin file should be the same as the plugin slug ("ajax-login-and-registration-modal-popup.php" instead of "ajax-login-registration-modal-popup.php")
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
Good job! No executable or dangerous file extensions detected43,659 lines of code in 266 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 120 | 3,280 | 4,183 | 11,146 |
CSS | 29 | 3,774 | 188 | 10,628 |
Sass | 39 | 769 | 159 | 7,090 |
PO File | 31 | 2,151 | 3,126 | 4,889 |
SVG | 20 | 0 | 11 | 4,859 |
JavaScript | 10 | 708 | 1,048 | 3,413 |
HTML | 3 | 6 | 6 | 1,166 |
Markdown | 3 | 89 | 0 | 254 |
JSON | 9 | 0 | 0 | 176 |
XML | 2 | 1 | 0 | 38 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 16.76 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 159.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 85 | |
▷ Abstract classes | 11 | 12.94% |
▷ Concrete classes | 74 | 87.06% |
▷ Final classes | 0 | 0.00% |
Methods | 653 | |
▷ Static methods | 95 | 14.55% |
▷ Public methods | 479 | 73.35% |
▷ Protected methods | 157 | 24.04% |
▷ Private methods | 17 | 2.60% |
Functions | 11 | |
▷ Named functions | 8 | 72.73% |
▷ Anonymous functions | 3 | 27.27% |
Constants | 10 | |
▷ Global constants | 7 | 70.00% |
▷ Class constants | 3 | 30.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/login.png | 1.89KB | 1.93KB | 0.00% |
assets/img/user.png | 1.35KB | 1.59KB | 0.00% |