Benchmarks
Plugin footprint 83% 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.04MB] [CPU: ▼5.63ms] Passed 4 tests
This is a short check of server-side resources used by Denakop Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.61 ▼3.27 |
Dashboard /wp-admin | 3.35 ▲0.05 | 49.22 ▼0.51 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 44.52 ▼3.65 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 82.56 ▼15.10 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.23 ▲0.86 |
Denakop /wp-admin/options-general.php?page=denakop-setting-admin | 3.21 | 32.24 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Denakop Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲96 | 13.24 ▼1.32 | 2.08 ▲0.34 | 45.79 ▲5.29 |
Dashboard /wp-admin | 2,209 ▲18 | 4.89 ▲0.01 | 110.01 ▲7.80 | 44.58 ▼0.08 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 1.99 ▼0.06 | 34.19 ▼2.73 | 34.47 ▼2.68 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.31 ▲0.16 | 672.17 ▲35.69 | 49.21 ▼2.84 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.19 ▼0.04 | 95.82 ▼2.24 | 39.51 ▼3.69 |
Denakop /wp-admin/options-general.php?page=denakop-setting-admin | 854 | 2.05 | 23.92 | 28.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=denakop-setting-admin
- > Notice in wp-content/plugins/denakop/denakop.php+188
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/denakop/denakop.php:223
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=denakop-setting-admin
- > Network (severe)
wp-content/plugins/denakop/assets/admin-style.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=denakop-setting-admin
- > Network (severe)
wp-content/plugins/denakop/assets/denakop-logo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
denakop/denakop.php Passed 13 tests
Analyzing the main PHP file in "Denakop Plugin" version 1.0.0
55 characters long description:
A plugin that installs the denakop tag on your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin303 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 30 | 48 | 209 |
JavaScript | 1 | 9 | 1 | 46 |
PO File | 1 | 11 | 16 | 37 |
JSON | 1 | 1 | 0 | 11 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin