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.01MB] [CPU: ▼4.22ms] Passed 4 tests
An overview of server-side resources used by Уведомление о файлах cookie и соответствие требованиям закона о персональных данных в РФ (№ 152-ФЗ)
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.13 ▼3.08 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.44 ▼5.63 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 43.49 ▼3.71 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.58 ▼3.04 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.58 ▼4.45 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Уведомление о файлах cookie и соответствие требованиям закона о персональных данных в РФ (№ 152-ФЗ)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.34 ▼0.01 | 1.94 ▲0.32 | 39.91 ▼7.56 |
Dashboard /wp-admin | 2,202 ▲25 | 5.67 ▲0.10 | 84.14 ▼8.20 | 37.46 ▼2.66 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.16 ▲0.19 | 39.40 ▲2.27 | 35.30 ▲0.85 |
Add New Post /wp-admin/post-new.php | 1,536 ▲1 | 23.03 ▲4.85 | 654.51 ▲38.54 | 54.14 ▼24.66 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.19 ▲0.03 | 111.36 ▲15.55 | 48.36 ▲7.15 |
WIDG.net - Уведомление о cookies /wp-admin/widgnet_1020_setting.php | 26 | 0.42 | 0.07 | 14.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% 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 everything seems fine, this is not 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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/widg-net-cookies/widgnet_1020.php:25
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/widgnet_1020_setting.php
- > Network (severe)
wp-admin/widgnet_1020_setting.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 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
7 plugin tags: cookies, ccpa, gdpr, cookie, widgnet_1020...
widg-net-cookies/widgnet_1020.php 85% from 13 tests
"Уведомление о файлах cookie и соответствие требованиям закона о персональных данных в РФ (№ 152-ФЗ)" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 164 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("widg-net-cookies.php" instead of "widgnet_1020.php")
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
Success! There were no dangerous files found in this plugin124 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 29 | 31 | 124 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 12 | |
▷ Static methods | 2 | 16.67% |
▷ Public methods | 12 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin