Benchmarks
Plugin footprint 65% 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.33MB] [CPU: ▼5.71ms] Passed 4 tests
A check of server-side resources used by Luciditi Age Assurance Integration
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 41.98 ▲6.09 |
Dashboard /wp-admin | 3.63 ▲0.33 | 43.56 ▼4.40 |
Posts /wp-admin/edit.php | 3.74 ▲0.39 | 47.96 ▼0.67 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.33 | 82.18 ▼17.04 |
Media Library /wp-admin/upload.php | 3.55 ▲0.33 | 35.44 ▼0.73 |
Age Assurance /wp-admin/options-general.php?page=luciditi_aa_settings | 3.53 | 33.70 |
Server storage [IO: ▲0.62MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 27 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_luciditi_tmp_sessions |
wp_luciditi_sessions |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
luciditi_aa_db_version |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Luciditi Age Assurance Integration
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.31 ▼1.28 | 1.92 ▲0.42 | 41.41 ▲3.49 |
Dashboard /wp-admin | 2,213 ▲21 | 4.85 ▼0.10 | 98.67 ▼17.92 | 40.14 ▼4.78 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▼0.02 | 37.73 ▼2.75 | 33.87 ▼3.25 |
Add New Post /wp-admin/post-new.php | 1,523 ▲9 | 23.14 ▲5.65 | 675.18 ▲14.28 | 55.69 ▲1.52 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.19 ▼0.07 | 94.88 ▼19.90 | 43.13 ▼3.71 |
Age Assurance /wp-admin/options-general.php?page=luciditi_aa_settings | 1,003 | 1.96 | 28.47 | 29.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_luciditi_sessions
- wp_luciditi_tmp_sessions
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- luciditi_aa_db_version
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: privacy, luciditi, age estimation, api integration, age verification
luciditi-age-assurance/luciditi-age-assurance.php Passed 13 tests
The main file in "Luciditi Age Assurance Integration" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
101 characters long description:
Add frictionless, privacy-preserving Age Assurance using Luciditi Age Estimation or Age Verification.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin2,941 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 332 | 682 | 1,642 |
CSS | 5 | 157 | 175 | 564 |
SVG | 3 | 0 | 0 | 422 |
JavaScript | 4 | 52 | 82 | 313 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 45.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 4.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 6 | 12.77% |
▷ Public methods | 43 | 91.49% |
▷ Protected methods | 1 | 2.13% |
▷ Private methods | 3 | 6.38% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.45MB with 0.33MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/assets/img/bg.png | 463.79KB | 127.52KB | ▼ 72.50% |