Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/redirect-after-comment-per-page/racpp.php+97
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.03MB] [CPU: ▼140.66ms] Passed 4 tests
Server-side resources used by Redirect After Comment Per Page
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 41.97 ▲20.29 |
Dashboard /wp-admin | 3.08 ▲0.03 | 47.56 ▲3.51 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 45.17 ▼0.01 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 90.13 ▼568.22 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 33.74 ▲2.09 |
Redirect after Comment /wp-admin/options-general.php?page=Redirect_after_Comment | 3.00 | 27.95 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 1 new option
New WordPress options |
---|
racpp_redirect_settings |
Browser metrics Passed 4 tests
An overview of browser requirements for Redirect After Comment Per Page
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲112 | 15.99 ▲0.19 | 10.51 ▼2.55 | 50.56 ▲4.34 |
Dashboard /wp-admin | 2,975 ▲41 | 5.87 ▼0.20 | 136.67 ▼22.31 | 102.92 ▼5.05 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.02 | 69.63 ▲2.68 | 82.99 ▼5.43 |
Add New Post /wp-admin/post-new.php | 1,732 ▼140 | 18.24 ▼0.94 | 334.41 ▼71.82 | 135.15 ▲24.66 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.05 ▲0.02 | 153.76 ▼6.48 | 114.38 ▼10.47 |
Redirect after Comment /wp-admin/options-general.php?page=Redirect_after_Comment | 1,056 | 2.08 | 56.35 | 71.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/redirect-after-comment-per-page/racpp.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: redirect, plugin, comments, launch
redirect-after-comment-per-page/racpp.php 92% from 13 tests
The principal PHP file in "Redirect After Comment Per Page" v. 0.9.5 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("redirect-after-comment-per-page.php" instead of "racpp.php")
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
Success! There were no dangerous files found in this plugin136 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 33 | 40 | 105 |
PO File | 1 | 8 | 7 | 31 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 9 | |
▷ Named functions | 9 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin