Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.89MB] [CPU: ▼34.00ms] Passed 4 tests
An overview of server-side resources used by ASD Cookie Consent
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 38.17 ▼2.01 |
Dashboard /wp-admin | 3.05 ▼0.25 | 24.10 ▼25.75 |
Posts /wp-admin/edit.php | 3.06 ▼0.30 | 23.66 ▼21.21 |
Add New Post /wp-admin/post-new.php | 3.05 ▼2.84 | 25.57 ▼75.74 |
Media Library /wp-admin/upload.php | 3.05 ▼0.18 | 22.62 ▼13.31 |
ASDCookieConsent /wp-admin/options-general.php?page=asd-cookie-consent | 3.06 | 23.25 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
asd_cookie_consent |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ASD Cookie Consent
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲110 | 13.68 ▼0.70 | 6.38 ▲4.70 | 58.09 ▲10.26 |
Dashboard /wp-admin | 2,210 ▲22 | 5.90 ▲1.00 | 106.51 ▼7.07 | 44.57 ▲0.81 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.05 ▼0.00 | 40.23 ▲6.52 | 38.24 ▲2.44 |
Add New Post /wp-admin/post-new.php | 1,517 ▼25 | 17.64 ▼0.62 | 695.43 ▲67.30 | 55.23 ▼5.99 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.23 ▲0.05 | 96.76 ▲0.65 | 41.49 ▲1.10 |
ASDCookieConsent /wp-admin/options-general.php?page=asd-cookie-consent | 945 | 2.06 | 24.98 | 27.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=asd-cookie-consent
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
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 take a closer look at the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/asd-cookie-consent/includes/config.php
- > /wp-content/plugins/asd-cookie-consent/asd-cookie-consent.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: cookie, cookie compliance, cookie privacy, cookies
asd-cookie-consent/asd-cookie-consent.php 92% from 13 tests
This is the main PHP file of "ASD Cookie Consent" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Domain Path: The domain path folder was not found ("/asd-cookie-consent/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin1,729 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 279 | 228 | 1,044 |
PHP | 4 | 57 | 36 | 373 |
CSS | 7 | 57 | 24 | 239 |
PO File | 1 | 28 | 34 | 73 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 11 | |
▷ Named functions | 11 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin