Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.07MB] [CPU: ▼16.60ms] Passed 4 tests
An overview of server-side resources used by Llavero.io
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 37.30 ▼0.56 |
Dashboard /wp-admin | 3.23 ▼0.08 | 26.97 ▼19.18 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 31.83 ▼18.24 |
Add New Post /wp-admin/post-new.php | 5.61 ▼0.28 | 64.99 ▼24.85 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 28.12 ▼4.11 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Llavero.io
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲47 | 13.69 ▼0.61 | 1.84 ▼0.06 | 42.18 ▲1.62 |
Dashboard /wp-admin | 2,221 ▲33 | 4.86 ▼1.01 | 101.65 ▲4.02 | 38.60 ▼5.38 |
Posts /wp-admin/edit.php | 2,101 ▲9 | 2.00 ▼0.05 | 38.40 ▲2.92 | 35.64 ▲0.40 |
Add New Post /wp-admin/post-new.php | 1,543 ▲19 | 23.17 ▼0.01 | 655.21 ▲27.52 | 52.70 ▼6.88 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.21 ▼0.01 | 105.42 ▼0.42 | 49.59 ▲6.91 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/llavero-io/includes/views/help.php
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_super_admin() in wp-content/plugins/llavero-io/includes/views/configmanual.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/llavero-io/weciberllavero.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_theme() in wp-content/plugins/llavero-io/includes/views/debug.php:8
- > PHP Fatal error
Uncaught Error: Class 'CiberLlaveroHelper' not found in wp-content/plugins/llavero-io/includes/views/inicio.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_super_admin() in wp-content/plugins/llavero-io/includes/views/config.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
4 plugin tags: security, authentication, login, 2fa
llavero-io/weciberllavero.php 85% from 13 tests
Analyzing the main PHP file in "Llavero.io" version 0.1.4
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 151 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("llavero-io.php" instead of "weciberllavero.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin1,940 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 573 | 83 | 1,227 |
JavaScript | 2 | 340 | 44 | 713 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 13.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 15 | 100.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin