Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.94ms] Passed 4 tests
Analyzing server-side resources used by LianaAutomation Login
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 49.26 ▲1.48 |
Dashboard /wp-admin | 3.33 ▲0.02 | 50.10 ▼4.90 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 52.20 ▼1.22 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 95.38 ▼0.61 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 40.69 ▼17.02 |
Login /wp-admin/admin.php?page=lianaautomation-login | 3.21 | 33.12 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for LianaAutomation Login
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲73 | 13.22 ▼1.36 | 1.80 ▼0.06 | 37.69 ▼9.62 |
Dashboard /wp-admin | 2,225 ▲40 | 5.86 ▼0.03 | 109.97 ▲10.30 | 42.18 ▼1.66 |
Posts /wp-admin/edit.php | 2,111 ▲22 | 2.03 ▲0.03 | 40.47 ▼1.70 | 38.17 ▲0.27 |
Add New Post /wp-admin/post-new.php | 1,558 ▲30 | 18.17 ▼5.10 | 655.72 ▼48.79 | 56.13 ▲5.14 |
Media Library /wp-admin/upload.php | 1,410 ▲28 | 4.14 ▼0.05 | 102.54 ▲2.38 | 47.99 ▲1.15 |
Login /wp-admin/admin.php?page=lianaautomation-login | 839 | 2.08 | 22.29 | 34.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 75% 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 everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/lianaautomation-login/admin/class-lianaautomation-login.php:418
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lianaautomation-login/includes/lianaautomation-login.php:205
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lianaautomation-login/includes/lianaautomation-cookie.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lianaautomation-login/includes/lianaautomation-cookie.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% 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
4 plugin tags: ecommerce, automation, e-commerce, online store
lianaautomation-login/lianaautomation-login.php 77% from 13 tests
The main PHP file in "LianaAutomation Login" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.8" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin443 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 64 | 202 | 435 |
Markdown | 1 | 5 | 0 | 8 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
PNG images were not found in this plugin