Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.05ms] Passed 4 tests
A check of server-side resources used by Leadrebel
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.36 ▼3.80 |
Dashboard /wp-admin | 3.33 ▲0.03 | 51.85 ▲0.80 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 52.15 ▲2.59 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 85.23 ▼14.61 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 39.96 ▲1.42 |
LeadRebel /wp-admin/options-general.php?page=Leadrebel_PluginSettings | 2.05 | 5.16 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
Leadrebel_Plugin__version |
Leadrebel_Plugin__installed |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Leadrebel: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 13.31 ▼1.28 | 4.74 ▲2.82 | 46.29 ▲8.81 |
Dashboard /wp-admin | 2,199 ▲19 | 5.63 ▼0.06 | 90.51 ▲1.05 | 41.30 ▼1.91 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.00 ▼0.05 | 33.46 ▼2.52 | 34.95 ▼0.69 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.11 ▲5.51 | 674.41 ▼33.96 | 59.14 ▼4.05 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.32 ▲0.06 | 99.80 ▼5.89 | 44.54 ▼6.18 |
LeadRebel /wp-admin/options-general.php?page=Leadrebel_PluginSettings | 949 | 2.08 | 25.72 | 59.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- Leadrebel_Plugin__installed
- Leadrebel_Plugin__version
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=Leadrebel_PluginSettings
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the leadrebel-script handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- > GET request to /wp-admin/options-general.php?page=Leadrebel_PluginSettings
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the leadrebel-style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
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
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/leadrebel/Leadrebel_LifeCycle.php:175
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/leadrebel/Leadrebel_LifeCycle.php:175
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/leadrebel/leadrebel.php:77
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 69% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: No tags were detected
- Contributors: Plugin contributors field is missing
- Contributors: No tags were detected
- Donate link: Please fix this invalid URI: ""
- Requires at least: Version not formatted correctly
leadrebel/leadrebel.php Passed 13 tests
This is the main PHP file of "Leadrebel" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
25 characters long description:
https://app.leadrebel.io/
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin1,018 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 169 | 395 | 676 |
CSS | 1 | 35 | 0 | 191 |
JavaScript | 1 | 21 | 16 | 151 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 11.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 1.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 59 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 35 | 59.32% |
▷ Protected methods | 24 | 40.68% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/Logo-1200x282.png | 14.88KB | 7.30KB | ▼ 50.92% |
img/logo476x106.png | 8.49KB | 4.56KB | ▼ 46.31% |
img/logo325x72.png | 5.65KB | 3.39KB | ▼ 39.97% |