Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- This plugin did not install gracefully
- > Warning in wp-content/plugins/ciusan-register-login/functions.php+1
Use of undefined constant ciusan_submit_donation - assumed 'ciusan_submit_donation' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼1.84MB] [CPU: ▼52.94ms] Passed 4 tests
Server-side resources used by Ciusan Register Login
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.31 | 4.54 ▼35.11 |
Dashboard /wp-admin | 2.17 ▼1.13 | 6.79 ▼41.89 |
Posts /wp-admin/edit.php | 2.17 ▼1.18 | 7.60 ▼45.27 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.71 | 7.68 ▼89.49 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 6.17 ▼25.72 |
Submit a Donation /wp-admin/admin.php?page=ciusan-submit-donation | 2.17 | 6.54 |
Register Login /wp-admin/admin.php?page=ciusan-register-login | 2.17 | 7.49 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ciusan Register Login
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,106 ▲345 | 15.03 ▲0.84 | 12.69 ▲10.92 | 43.01 ▲1.94 |
Dashboard /wp-admin | 2,221 ▲41 | 5.79 ▲0.11 | 100.64 ▲10.67 | 84.40 ▲44.32 |
Posts /wp-admin/edit.php | 2,144 ▲41 | 2.83 ▲0.84 | 50.54 ▲13.99 | 35.99 ▲1.17 |
Add New Post /wp-admin/post-new.php | 1,564 ▲36 | 23.82 ▲0.74 | 618.43 ▼80.54 | 33.27 ▼29.48 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 5.34 ▲0.95 | 105.94 ▼7.03 | 75.13 ▲27.21 |
Submit a Donation /wp-admin/admin.php?page=ciusan-submit-donation | 940 | 2.71 | 31.55 | 28.09 |
Register Login /wp-admin/admin.php?page=ciusan-register-login | 1,059 | 2.69 | 30.13 | 29.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/ciusan-register-login/functions.php+1
Use of undefined constant ciusan_submit_donation - assumed 'ciusan_submit_donation' (this will throw an Error in a future version of PHP)
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ciusan-register-login
- > Warning in wp-content/plugins/ciusan-register-login/functions.php+1
Use of undefined constant ciusan_submit_donation - assumed 'ciusan_submit_donation' (this will throw an Error in a future version of PHP)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ciusan-register-login
- > Warning in wp-content/plugins/ciusan-register-login/ciusan-register-login.php+50
Use of undefined constant ciusan_admin__head - assumed 'ciusan_admin__head' (this will throw an Error in a future version of PHP)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ciusan-register-login
- > User deprecated in wp-includes/functions.php+5453
Function add_object_page is deprecated since version 4.5.0! Use add_menu_page() instead.
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ciusan-register-login
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/admin.php?page=ciusan-register-login
- > Warning in wp-content/plugins/ciusan-register-login/admin_menu.php+14
Use of undefined constant login_title - assumed 'login_title' (this will throw an Error in a future version of PHP)
- 11 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ciusan-register-login
- > Notice in wp-content/plugins/ciusan-register-login/admin_menu.php+94
Trying to access array offset on value of type bool
- > GET request to /wp-admin/admin.php?page=ciusan-register-login
- > Warning in wp-content/plugins/ciusan-register-login/admin_menu.php+19
Use of undefined constant register_title - assumed 'register_title' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/admin.php?page=ciusan-register-login
- > Warning in wp-content/plugins/ciusan-register-login/admin_menu.php+24
Use of undefined constant forgot_password_title - assumed 'forgot_password_title' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/admin.php?page=ciusan-register-login
- > Warning in wp-content/plugins/ciusan-register-login/admin_menu.php+39
Use of undefined constant button_login - assumed 'button_login' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/admin.php?page=ciusan-register-login
- > Warning in wp-content/plugins/ciusan-register-login/admin_menu.php+44
Use of undefined constant button_register - assumed 'button_register' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/admin.php?page=ciusan-register-login
- > Warning in wp-content/plugins/ciusan-register-login/admin_menu.php+49
Use of undefined constant button_forgot_password - assumed 'button_forgot_password' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/admin.php?page=ciusan-register-login
- > Warning in wp-content/plugins/ciusan-register-login/admin_menu.php+54
Use of undefined constant button_class - assumed 'button_class' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/admin.php?page=ciusan-register-login
- > Warning in wp-content/plugins/ciusan-register-login/admin_menu.php+69
Use of undefined constant login_redirect_URL - assumed 'login_redirect_URL' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/admin.php?page=ciusan-register-login
- > Warning in wp-content/plugins/ciusan-register-login/admin_menu.php+74
Use of undefined constant register_redirect_URL - assumed 'register_redirect_URL' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/admin.php?page=ciusan-register-login
- > Warning in wp-content/plugins/ciusan-register-login/admin_menu.php+89
Use of undefined constant Google_Site_Key - assumed 'Google_Site_Key' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/admin.php?page=ciusan-register-login
- > Warning in wp-content/plugins/ciusan-register-login/admin_menu.php+94
Use of undefined constant Google_Secret_Key - assumed 'Google_Secret_Key' (this will throw an Error in a future version of PHP)
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
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ciusan-register-login/ciusan-register-login.php:53
- > PHP Warning
Use of undefined constant ciusan_submit_donation - assumed 'ciusan_submit_donation' (this will throw an Error in a future version of PHP) in wp-content/plugins/ciusan-register-login/functions.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ciusan-register-login/admin_menu.php:1
- > PHP Warning
Use of undefined constant ciusan_submit_donation - assumed 'ciusan_submit_donation' (this will throw an Error in a future version of PHP) in wp-content/plugins/ciusan-register-login/functions.php on line 1
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ciusan-register-login
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/ciusan-register-login/assets/js/ciusan-register-login.js?ver=6.3.1:3:36)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ciusan-register-login
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).live is not a function
- > GET request to /wp-admin/admin.php?page=ciusan-submit-donation
- > Network (severe)
https://www.skrill.com/fileadmin/templates/images/skrill-logo.svg/ - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (Login form.), #2 (Registration form.), #3 (Forgot password form.), #4 (All fields required.), #5 (Error form.), #6 (All settings on WP Dashboard.)
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
ciusan-register-login/ciusan-register-login.php Passed 13 tests
"Ciusan Register Login" version 2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
68 characters long description:
Showing login, register or lost password form modal popup with ajax.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,712 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 154 | 124 | 1,136 |
PHP | 4 | 46 | 42 | 415 |
CSS | 2 | 0 | 0 | 161 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 14 | |
▷ Named functions | 14 | 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
7 PNG files occupy 0.30MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 40.99KB | 21.92KB | ▼ 46.51% |
screenshot-4.png | 45.94KB | 23.91KB | ▼ 47.94% |
screenshot-1.png | 40.91KB | 21.98KB | ▼ 46.28% |
screenshot-5.png | 41.77KB | 22.08KB | ▼ 47.13% |
screenshot-6.png | 62.74KB | 25.27KB | ▼ 59.73% |