Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.46ms] Passed 4 tests
Server-side resources used by Moodgiver Redirect
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.97 ▼11.10 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.97 ▼3.38 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.96 ▼6.12 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.47 ▼13.25 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.08 ▼1.05 |
mg Redirect /wp-admin/options-general.php?page=my-unique-identifier | 3.20 | 31.52 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Moodgiver Redirect
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 14.46 ▲0.09 | 1.97 ▲0.16 | 41.58 ▼3.35 |
Dashboard /wp-admin | 2,210 ▲25 | 5.90 ▲0.05 | 97.44 ▼7.30 | 41.12 ▼3.38 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.01 | 36.46 ▼5.32 | 33.35 ▼7.82 |
Add New Post /wp-admin/post-new.php | 1,536 ▼1 | 22.99 ▼0.26 | 667.53 ▼3.23 | 54.88 ▲0.68 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.22 ▲0.06 | 96.25 ▼5.30 | 45.79 ▲1.05 |
mg Redirect /wp-admin/options-general.php?page=my-unique-identifier | 813 | 2.01 | 22.92 | 32.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/mg-redirect/mg-redirect.php
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 errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 75% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Contributors: Contributors not specified
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== mg-redirect ===
) - Contributors: No tags were detected
- Donate link: Please fix this invalid URI: ""
mg-redirect/mg-redirect.php 92% from 13 tests
The main PHP script in "Moodgiver Redirect" version 1.0.0 is automatically included on every request by WordPress
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 326 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin48 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 5 | 14 | 48 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 3 | |
▷ Named functions | 3 | 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