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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.48ms] Passed 4 tests
An overview of server-side resources used by RIDEN
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.73 ▼3.94 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.69 ▲1.64 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.44 ▼0.68 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.72 ▼12.98 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.12 ▼0.31 |
RIDEN Settings /wp-admin/options-general.php?page=riden-settings | 3.22 | 37.72 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 12 new options
New WordPress options |
---|
db_upgraded |
rsc_riden_threshold |
rsc_riden_uuid |
rsc_riden_whitelistbl |
theysaidso_admin_options |
rsc_riden_whitelist |
widget_recent-comments |
rsc_riden_blacklist |
rsc_riden_blacklistbl |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for RIDEN
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.33 ▼1.05 | 4.44 ▲2.83 | 47.56 ▲9.85 |
Dashboard /wp-admin | 2,213 ▲25 | 4.87 ▼0.01 | 99.46 ▼19.26 | 40.09 ▼3.72 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.00 | 41.16 ▲0.93 | 36.13 ▲0.79 |
Add New Post /wp-admin/post-new.php | 1,542 ▲7 | 23.30 ▲0.22 | 608.61 ▼27.23 | 57.00 ▲6.06 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.19 ▲0.03 | 96.78 ▼2.17 | 41.88 ▼0.99 |
RIDEN Settings /wp-admin/options-general.php?page=riden-settings | 822 | 2.02 | 22.96 | 28.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
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
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/riden/rsc-riden-wp.php
- 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/riden/admin/rsc-riden-admin.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: security, ban, spam, block, antispam...
riden/rsc-riden-wp.php 92% from 13 tests
The main file in "RIDEN" v. 0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("riden.php" instead of "rsc-riden-wp.php")
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
Everything looks great! No dangerous files found in this plugin789 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 214 | 432 | 788 |
JavaScript | 1 | 0 | 9 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 64.50 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 99.00 |
Average method complexity | 5.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 28 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 64.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 35.71% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.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
No PNG images were found in this plugin