Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼8.76ms] Passed 4 tests
Server-side resources used by True Lazy Analytics
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 41.64 ▲3.42 |
Dashboard /wp-admin | 3.44 ▲0.09 | 46.01 ▼14.47 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 50.02 ▼7.52 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 90.65 ▼12.60 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 34.09 ▼0.44 |
💹 True Lazy Analytics /wp-admin/admin.php?page=true-lazy-analytics | 3.33 | 31.29 |
WP Booster /wp-admin/admin.php?page=wp-booster | 3.33 | 35.88 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by True Lazy Analytics
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲69 | 14.67 ▲0.28 | 1.53 ▼0.18 | 38.26 ▼6.94 |
Dashboard /wp-admin | 2,219 ▲42 | 5.62 ▲0.07 | 92.21 ▼2.31 | 44.50 ▲3.17 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.96 ▲0.02 | 40.16 ▼0.69 | 39.53 ▲3.83 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 25.10 ▲1.99 | 606.93 ▼64.79 | 56.54 ▼4.90 |
Media Library /wp-admin/upload.php | 1,421 ▲18 | 4.16 ▼0.05 | 101.01 ▼2.29 | 46.02 ▲3.75 |
💹 True Lazy Analytics /wp-admin/admin.php?page=true-lazy-analytics | 1,087 | 2.09 | 37.15 | 50.33 |
WP Booster /wp-admin/admin.php?page=wp-booster | 1,079 | 2.10 | 25.72 | 36.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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 2× 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/true-lazy-analytics/functions.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/true-lazy-analytics/setting-page.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-booster
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 16 tag instead of maximum 10
true-lazy-analytics/true-lazy-analytics.php 92% from 13 tests
"True Lazy Analytics" version 2.4.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected659 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 6 | 70 | 646 |
CSS | 1 | 0 | 1 | 13 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
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 | 30 | |
▷ Named functions | 25 | 83.33% |
▷ Anonymous functions | 5 | 16.67% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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