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.02MB] [CPU: ▼7.77ms] Passed 4 tests
Server-side resources used by AgreeMe Checkboxes For WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 38.99 ▼2.40 |
Dashboard /wp-admin | 3.33 ▼0.01 | 47.27 ▼15.65 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 45.66 ▲1.42 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 90.73 ▼11.92 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.13 ▼1.11 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
agrwc_enabled |
Browser metrics Passed 4 tests
AgreeMe Checkboxes For WooCommerce: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.21 ▼0.07 | 1.70 ▲0.00 | 43.52 ▼0.09 |
Dashboard /wp-admin | 2,195 ▲21 | 5.62 ▼0.04 | 91.60 ▼1.47 | 40.63 ▼3.95 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.00 ▲0.07 | 39.55 ▲0.73 | 38.09 ▲2.69 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.92 ▼0.27 | 581.22 ▼50.55 | 53.51 ▼2.02 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.20 ▼0.01 | 96.91 ▼2.94 | 40.54 ▼2.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- agrwc_enabled
Smoke tests Passed 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)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: woo commerce, checkout, woocommerce
agreeme-checkboxes-for-woocommerce/agree-me-woocommerce.php 85% from 13 tests
"AgreeMe Checkboxes For WooCommerce" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("agreeme-checkboxes-for-woocommerce.php" instead of "agree-me-woocommerce.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected1,811 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 548 | 802 | 1,583 |
PO File | 1 | 63 | 73 | 166 |
JavaScript | 2 | 13 | 8 | 62 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 120.00 |
Average method complexity | 3.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 1 | 9.09% |
Methods | 119 | |
▷ Static methods | 26 | 21.85% |
▷ Public methods | 105 | 88.24% |
▷ Protected methods | 9 | 7.56% |
▷ Private methods | 5 | 4.20% |
Functions | 12 | |
▷ Named functions | 11 | 91.67% |
▷ Anonymous functions | 1 | 8.33% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There are no PNG files in this plugin