Benchmarks
Plugin footprint 65% 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.01MB] [CPU: ▼6.12ms] Passed 4 tests
A check of server-side resources used by Leadeo Lite
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.00 ▼0.87 |
Dashboard /wp-admin | 3.33 ▼0.01 | 42.55 ▼14.64 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 44.32 ▼2.20 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 93.77 ▼5.27 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.15 ▼2.36 |
Add new /wp-admin/admin.php?page=leadeo-lite_edit | 5.27 | 39.92 |
Leadeo /wp-admin/admin.php?page=leadeo-lite | 3.38 | 36.80 |
Server storage [IO: ▲1.13MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 78 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_leadeo_lite_temp |
wp_leadeo_lite |
wp_leadeo_lite_data |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Leadeo Lite: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.21 ▼0.08 | 1.72 ▼0.02 | 44.51 ▲1.65 |
Dashboard /wp-admin | 2,222 ▲42 | 5.62 ▼0.07 | 85.34 ▼3.91 | 38.95 ▼0.93 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.99 ▼0.01 | 35.23 ▲0.93 | 32.15 ▼4.11 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.18 ▲0.08 | 664.07 ▲14.00 | 57.09 ▲5.32 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.22 ▲0.05 | 110.29 ▲3.71 | 49.03 ▲2.81 |
Add new /wp-admin/admin.php?page=leadeo-lite_edit | 4,282 | 3.52 | 46.57 | 79.16 |
Leadeo /wp-admin/admin.php?page=leadeo-lite | 1,122 | 3.44 | 44.88 | 32.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie tables detected upon uninstall: 3 tables
- wp_leadeo_lite
- wp_leadeo_lite_temp
- wp_leadeo_lite_data
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% 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 | 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 items
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Undefined variable: name in wp-content/plugins/leadeo-lite/backend_browse.php on line 3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/leadeo-lite/backend_edit.php:25
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/leadeo-lite/backend_index.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/leadeo-lite/leadeo.php:390
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/leadeo-lite/backend_browse.php:4
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: lead generation, video, video player, email list, marketing...
leadeo-lite/leadeo.php 92% from 13 tests
The main PHP file in "Leadeo Lite" ver. 1.5 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("leadeo-lite.php" instead of "leadeo.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
Success! There were no dangerous files found in this plugin7,300 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 546 | 2,385 | 2,869 |
CSS | 7 | 372 | 143 | 2,679 |
JavaScript | 12 | 233 | 423 | 1,368 |
HTML | 6 | 2 | 48 | 384 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 4.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 102.00 |
Average method complexity | 2.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 116 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 116 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 251 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 251 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
21 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/pro.png | 3.70KB | 0.47KB | ▼ 87.33% |
css/images/slider-control.png | 1.65KB | 0.75KB | ▼ 54.62% |
css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png | 0.15KB | 0.14KB | ▼ 6.04% |
css/images/zoomIn.png | 6.09KB | 2.07KB | ▼ 66.05% |
css/images/glass.png | 2.73KB | 0.09KB | ▼ 96.60% |