Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.19ms] Passed 4 tests
This is a short check of server-side resources used by LeadBoxer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.12 ▲0.45 |
Dashboard /wp-admin | 3.33 ▲0.03 | 50.38 ▼0.36 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.17 ▼4.93 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.13 ▼11.92 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.83 ▲6.26 |
LeadBoxer /wp-admin/options-general.php?page=leadboxer | 3.22 | 30.75 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
leadboxer_dataset |
Browser metrics Passed 4 tests
An overview of browser requirements for LeadBoxer
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲89 | 14.41 ▲0.04 | 15.55 ▲13.46 | 41.71 ▼2.32 |
Dashboard /wp-admin | 2,196 ▲16 | 5.51 ▼0.12 | 84.49 ▼3.69 | 38.72 ▼3.00 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▼0.01 | 39.63 ▼2.67 | 35.31 ▼6.18 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 18.40 ▼4.51 | 623.49 ▼14.18 | 67.48 ▲9.47 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.19 ▼0.03 | 97.41 ▼0.61 | 42.60 ▼3.36 |
LeadBoxer /wp-admin/options-general.php?page=leadboxer | 812 | 2.02 | 24.41 | 27.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
10 plugin tags: customer data, identification, lead, leads, capture...
leadboxer/leadboxer.php 92% from 13 tests
Analyzing the main PHP file in "LeadBoxer" version 1.2
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected119 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 46 | 33 | 94 |
PO File | 1 | 5 | 5 | 25 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 6 | |
▷ Static methods | 1 | 16.67% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
PNG images were not found in this plugin