Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼2.48ms] Passed 4 tests
An overview of server-side resources used by AppConsent CMP by SFBX
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 39.01 ▼2.04 |
Dashboard /wp-admin | 3.52 ▲0.22 | 50.39 ▲1.28 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 51.63 ▼2.72 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 93.32 ▼6.45 |
Media Library /wp-admin/upload.php | 3.45 ▲0.21 | 40.03 ▲6.83 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for AppConsent CMP by SFBX
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲71 | 13.21 ▼1.39 | 4.15 ▲1.59 | 42.36 ▼3.27 |
Dashboard /wp-admin | 2,237 ▲46 | 5.05 ▼0.84 | 98.46 ▼14.06 | 91.77 ▲44.17 |
Posts /wp-admin/edit.php | 2,123 ▲52 | 2.01 ▼0.03 | 44.30 ▲6.92 | 34.28 ▼2.17 |
Add New Post /wp-admin/post-new.php | 1,548 ▲11 | 23.15 ▼0.06 | 727.96 ▲103.60 | 72.56 ▲21.60 |
Media Library /wp-admin/upload.php | 1,416 ▲25 | 4.24 ▲0.07 | 96.21 ▼4.98 | 73.77 ▲30.59 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
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
6 plugin tags: gdpr, cookie, banner, eprivacy, privacy...
appconsent-cmp-sfbx/appconsent-cmp-sfbx.php Passed 13 tests
"AppConsent CMP by SFBX" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
89 characters long description:
This plugin helps you to setup the AppConsent CMP easily. ( Consent Management Platform )
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected1,724 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 157 | 434 | 918 |
PO File | 1 | 311 | 314 | 718 |
CSS | 2 | 8 | 0 | 66 |
JavaScript | 5 | 1 | 1 | 17 |
SVG | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 12.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 81.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 18.52% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
PNG images were not found in this plugin