Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.10ms] Passed 4 tests
An overview of server-side resources used by AllProWebTools Leadboxes
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.76 ▼4.19 |
Dashboard /wp-admin | 3.36 ▲0.01 | 53.17 ▼5.83 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 48.20 ▲0.79 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 85.03 ▼14.61 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.21 ▼3.77 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
APWT_THIS_VERSION |
widget_apwtleadbox |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
AllProWebTools Leadboxes: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲152 | 13.45 ▼1.11 | 7.55 ▲6.00 | 39.66 ▼0.48 |
Dashboard /wp-admin | 2,198 ▲27 | 5.67 ▲0.12 | 81.74 ▼5.27 | 72.13 ▲27.48 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.99 ▼0.01 | 34.69 ▼1.24 | 33.70 ▼3.52 |
Add New Post /wp-admin/post-new.php | 1,539 ▲12 | 23.47 ▲0.36 | 682.94 ▲19.21 | 52.11 ▼0.87 |
Media Library /wp-admin/upload.php | 1,418 ▲21 | 4.26 ▲0.08 | 92.20 ▼8.52 | 77.47 ▲33.33 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 8 options in the database
- APWT_THIS_VERSION
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_apwtleadbox
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/allprowebtools-leadboxes/includes/apwt.php:113
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/allprowebtools-leadboxes/includes/apwt.php:113
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% 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:
- Screenshots: A description for screenshot #2 is missing in allprowebtools-leadboxes/assets to your readme.txt
- Screenshots: Screenshot #1 (Track actual sales dollars & activity that result from email marketing.) image not found
- Plugin Name: Please specify the plugin name on the first line (
=== allprowebtools-leadboxes ===
)
allprowebtools-leadboxes/allprowebtools.php 92% from 13 tests
Analyzing the main PHP file in "AllProWebTools Leadboxes" version 1.1.4
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("allprowebtools-leadboxes.php" instead of "allprowebtools.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin297 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 51 | 27 | 249 |
JavaScript | 1 | 4 | 0 | 48 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 1 | 20.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/wp-icon.png | 3.67KB | 1.12KB | ▼ 69.42% |