Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼0.87ms] Passed 4 tests
Analyzing server-side resources used by All Login Form
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 45.13 ▼9.64 |
Dashboard /wp-admin | 3.43 ▲0.13 | 59.06 ▲8.13 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 55.37 ▲5.14 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 102.08 ▼1.14 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 37.99 ▲2.14 |
All Login Form /wp-admin/themes.php?page=login-modal-box | 3.48 | 31.90 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 15 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
All Login Form: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,007 ▲261 | 13.72 ▼0.93 | 9.75 ▲7.52 | 43.67 ▼15.49 |
Dashboard /wp-admin | 2,218 ▲33 | 4.93 ▼1.10 | 120.90 ▲12.90 | 46.73 ▲2.72 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.06 ▲0.05 | 43.57 ▲5.40 | 38.39 ▼0.23 |
Add New Post /wp-admin/post-new.php | 1,521 ▼7 | 21.73 ▼1.50 | 723.27 ▲68.90 | 60.38 ▲6.01 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.24 ▲0.06 | 105.70 ▼6.43 | 45.84 ▼2.12 |
All Login Form /wp-admin/themes.php?page=login-modal-box | 956 | 1.71 | 22.99 | 30.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/login-popup-modal/login-popup-modal.php:414
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: emergente, membership site, ventana, login menu, engagement...
login-popup-modal/login-popup-modal.php 92% from 13 tests
The main file in "All Login Form" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin1,522 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 168 | 505 | 620 |
JavaScript | 1 | 141 | 187 | 453 |
CSS | 1 | 68 | 32 | 221 |
PO File | 2 | 85 | 91 | 218 |
Markdown | 2 | 2 | 0 | 10 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 14.60 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 41 | |
▷ Static methods | 4 | 9.76% |
▷ Public methods | 40 | 97.56% |
▷ Protected methods | 1 | 2.44% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.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
PNG images were not found in this plugin