Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.95MB] [CPU: ▼36.63ms] Passed 4 tests
This is a short check of server-side resources used by Lead Champion
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.41 ▼1.00 |
Dashboard /wp-admin | 2.99 ▼0.31 | 25.48 ▼30.32 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 22.16 ▼24.23 |
Add New Post /wp-admin/post-new.php | 2.99 ▼2.89 | 22.02 ▼78.28 |
Media Library /wp-admin/upload.php | 2.99 ▼0.23 | 24.11 ▼13.69 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
lcd_site_id |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
cookieMode |
Browser metrics Passed 4 tests
Lead Champion: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲39 | 14.37 ▲0.02 | 1.88 ▲0.24 | 48.08 ▲3.16 |
Dashboard /wp-admin | 2,194 ▲14 | 5.56 ▼0.04 | 97.27 ▼5.52 | 66.80 ▲21.57 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 1.99 ▲0.05 | 34.23 ▼4.56 | 33.88 ▼0.69 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.87 ▲0.92 | 702.07 ▲27.69 | 57.42 ▲2.16 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.22 ▼0.18 | 108.15 ▼4.66 | 79.79 ▲31.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options detected upon uninstall: 8 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- cookieMode
- widget_recent-posts
- lcd_site_id
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/lead-champion-discover/wp_lcd.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Please a description for screenshot #2 in lead-champion-discover/assets to your readme.txt
lead-champion-discover/wp_lcd.php 92% from 13 tests
"Lead Champion" version 22.5.12.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("lead-champion-discover.php" instead of "wp_lcd.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 plugin387 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 36 | 189 |
PO File | 2 | 44 | 49 | 123 |
Markdown | 1 | 21 | 0 | 49 |
SVG | 1 | 0 | 0 | 26 |
Bourne Shell | 1 | 0 | 9 | 0 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 6 | |
▷ Named functions | 6 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.14MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/LeadChampionLogo-800x800.png | 35.78KB | 10.87KB | ▼ 69.62% |
images/LeadChampionLogo-128x128.png | 9.83KB | 1.52KB | ▼ 84.56% |
images/logoLCd.png | 47.94KB | 12.90KB | ▼ 73.09% |
images/lcd_favicon.png | 5.95KB | 0.43KB | ▼ 92.85% |
images/LeadChampionLogoName.png | 28.44KB | 8.26KB | ▼ 70.96% |