Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.60ms] Passed 4 tests
A check of server-side resources used by LianaAutomation Site Tracking
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.42 ▼8.92 |
Dashboard /wp-admin | 3.37 ▲0.03 | 54.89 ▼6.99 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 45.01 ▼1.54 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 104.83 ▲13.41 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.27 ▲3.06 |
Site Tracking /wp-admin/admin.php?page=lianaautomation-sitetracking | 3.26 | 30.73 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
LianaAutomation Site Tracking: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲98 | 14.47 ▲0.17 | 1.95 ▲0.30 | 44.51 ▲0.30 |
Dashboard /wp-admin | 2,228 ▲37 | 4.87 ▼0.02 | 102.08 ▼1.97 | 41.72 ▼4.83 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.02 ▼0.01 | 35.13 ▼1.77 | 33.79 ▼2.77 |
Add New Post /wp-admin/post-new.php | 1,562 ▲43 | 18.58 ▼4.69 | 602.59 ▼79.01 | 63.66 ▲5.35 |
Media Library /wp-admin/upload.php | 1,410 ▲22 | 4.17 ▼0.05 | 101.96 ▲4.02 | 43.40 ▼0.25 |
Site Tracking /wp-admin/admin.php?page=lianaautomation-sitetracking | 838 | 2.19 | 26.34 | 39.08 |
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 does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Almost there! Just 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-sitetracking/admin/class-lianaautomation-sitetracking.php:411
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lianaautomation-sitetracking/includes/lianaautomation-cookie.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lianaautomation-sitetracking/includes/lianaautomation-pagebrowse.php:193
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lianaautomation-sitetracking/includes/lianaautomation-cookie.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: ecommerce, e-commerce, automation, online store
lianaautomation-sitetracking/lianaautomation-sitetracking.php 77% from 13 tests
"LianaAutomation Site Tracking" version 1.0.32's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Requires at least: Required version does not match the one declared in readme.txt ("5.8" instead of "5.2")
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
No dangerous file extensions were detected425 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 63 | 203 | 416 |
Markdown | 1 | 6 | 0 | 9 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin