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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.90ms] Passed 4 tests
A check of server-side resources used by Age Verification for your checkout page. Verify your customer's identity
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.86 ▲1.00 |
Dashboard /wp-admin | 3.32 ▲0.01 | 47.12 ▼1.65 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.14 ▼4.41 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 91.02 ▼10.32 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.58 ▼3.22 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Age Verification for your checkout page. Verify your customer's identity: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.19 ▼0.43 | 1.78 ▲0.19 | 46.08 ▲5.15 |
Dashboard /wp-admin | 2,192 ▲15 | 5.64 ▲0.04 | 128.09 ▲34.34 | 56.17 ▲13.81 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 1.98 ▲0.02 | 37.58 ▼0.41 | 31.86 ▼2.44 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 18.27 ▼4.82 | 615.60 ▼64.13 | 73.55 ▲9.55 |
Media Library /wp-admin/upload.php | 1,394 ▼9 | 4.21 ▼0.01 | 97.69 ▼6.24 | 41.78 ▼2.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration' not found in wp-content/plugins/agecheckernet/class-wc-integration-agechecker-integration.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/agecheckernet/agechecker.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
agecheckernet/agechecker.php 85% from 13 tests
The primary PHP file in "Age Verification for your checkout page. Verify your customer's identity" version 1.15.3 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 273 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("agecheckernet.php" instead of "agechecker.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected1,892 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 270 | 35 | 1,892 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 144.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 286.00 |
Average method complexity | 6.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 54 | 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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin