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.03MB] [CPU: ▼2.79ms] Passed 4 tests
Server-side resources used by Quick Age Verification
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.46 ▼0.44 |
Dashboard /wp-admin | 3.33 ▲0.03 | 51.56 ▼0.83 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 47.31 ▼1.81 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 92.45 ▼8.09 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 34.40 ▲1.21 |
Quick Age Verification Options /wp-admin/options-general.php?page=quick_age_verification | 3.24 | 36.48 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Quick Age Verification
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲184 | 13.98 ▼0.62 | 6.06 ▲4.32 | 49.44 ▲6.81 |
Dashboard /wp-admin | 2,204 ▲13 | 5.76 ▲0.87 | 131.47 ▲14.90 | 53.41 ▲9.43 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▼0.03 | 39.41 ▲1.51 | 35.40 ▲4.28 |
Add New Post /wp-admin/post-new.php | 1,517 ▲3 | 23.57 ▲6.06 | 609.65 ▼99.15 | 47.27 ▼10.15 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.14 ▼0.04 | 95.59 ▼1.74 | 45.39 ▲2.84 |
Quick Age Verification Options /wp-admin/options-general.php?page=quick_age_verification | 1,104 | 3.05 | 40.31 | 37.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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 take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quick-age-verification/qav_options.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quick-age-verification/qav_options.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: age verification, age restriction, age check
quick-age-verification/quick-age-verification.php Passed 13 tests
The main file in "Quick Age Verification" v. 1.1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
32 characters long description:
Verify the age of website users.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin198 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 55 | 24 | 158 |
CSS | 1 | 2 | 0 | 25 |
JavaScript | 1 | 4 | 0 | 15 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 5 | |
▷ Named functions | 5 | 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
No PNG images were found in this plugin