Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼4.72ms] Passed 4 tests
This is a short check of server-side resources used by Deklaracja dostepnosci WCAG 2.1
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.05 ▼1.69 |
Dashboard /wp-admin | 3.39 ▲0.08 | 52.60 ▲1.20 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 46.50 ▼7.58 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 95.97 ▼10.82 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 38.84 ▲3.17 |
Deklaracja dostępności /wp-admin/options-general.php?page=deklaracjadostepnosci | 3.26 | 234.62 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Deklaracja dostepnosci WCAG 2.1
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲49 | 13.56 ▼1.09 | 1.82 ▼0.25 | 43.59 ▼5.50 |
Dashboard /wp-admin | 2,210 ▲25 | 4.84 ▼0.05 | 119.19 ▼18.33 | 41.10 ▼4.35 |
Posts /wp-admin/edit.php | 2,090 ▼2 | 1.99 ▲0.00 | 39.40 ▼3.80 | 31.52 ▼12.83 |
Add New Post /wp-admin/post-new.php | 1,517 ▼7 | 17.83 ▼5.10 | 632.57 ▼37.06 | 56.77 ▼22.23 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.35 ▲0.11 | 103.97 ▼16.88 | 46.57 ▼1.18 |
Deklaracja dostępności /wp-admin/options-general.php?page=deklaracjadostepnosci | 949 | 2.07 | 27.30 | 30.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
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=deklaracjadostepnosci
- > Warning in wp-content/plugins/deklaracja-dostepnosci-wcag/deklaracjadostepnosci.php+212
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- > GET request to /wp-admin/options-general.php?page=deklaracjadostepnosci
- > Warning in wp-content/plugins/deklaracja-dostepnosci-wcag/deklaracjadostepnosci.php+212
file_get_contents(http://deklaracjadostepnosci.eu/check.php?url=http://wp.com): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=deklaracjadostepnosci
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+204
Undefined offset: 0
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=deklaracjadostepnosci
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+205
Trying to get property 'guid' of non-object
- 8 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=deklaracjadostepnosci
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+221
Trying to get property 'ID' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=deklaracjadostepnosci
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+222
Trying to get property 'post_title' of non-object
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/deklaracja-dostepnosci-wcag/deklaracjadostepnosci.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== deklaracja-dostepnosci-wcag ===
) - Contributors: Contributors not specified
deklaracja-dostepnosci-wcag/deklaracjadostepnosci.php 77% from 13 tests
The main PHP script in "Deklaracja dostepnosci WCAG 2.1" version 1.1 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("deklaracja-dostepnosci-wcag.php" instead of "deklaracjadostepnosci.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: Keep the plugin description shorter than 140 characters (currently 328 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin338 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 232 | 45 | 338 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 4.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 2 | 50.00% |
▷ Public methods | 2 | 50.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 50.00% |
Functions | 27 | |
▷ Named functions | 27 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin