Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.15ms] Passed 4 tests
Server-side resources used by Redirect wordpress to welcome or landing page
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.66 ▼1.28 |
Dashboard /wp-admin | 3.34 ▲0.03 | 57.42 ▲5.50 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 53.66 ▲3.31 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 94.00 ▼8.71 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.45 ▲2.10 |
Redirect to welcome or landing page /wp-admin/options-general.php?page=eslam_me_wordpress_redirect_to_landing_page | 3.22 | 33.15 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Redirect wordpress to welcome or landing page
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲33 | 14.74 ▲0.36 | 1.78 ▼0.26 | 43.68 ▲0.71 |
Dashboard /wp-admin | 2,225 ▲19 | 5.88 ▲1.04 | 109.46 ▼1.61 | 43.33 ▲1.10 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.05 ▲0.01 | 39.76 ▼6.20 | 35.60 ▼2.19 |
Add New Post /wp-admin/post-new.php | 1,548 ▲17 | 23.22 ▼0.09 | 670.68 ▼27.75 | 61.76 ▲11.29 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.20 ▼0.03 | 96.51 ▼6.41 | 44.01 ▲0.81 |
Redirect to welcome or landing page /wp-admin/options-general.php?page=eslam_me_wordpress_redirect_to_landing_page | 919 | 2.06 | 23.99 | 32.17 |
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
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/redirect-to-welcome-or-landing-page/eslam_me_wordpress_redirect_to_landing_page.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 34 tag instead of maximum 10
- Donate link: Invalid URI found ("Eslam Mahmoud")
- Screenshots: Screenshot #1 (No screen shots available.) image missing
redirect-to-welcome-or-landing-page/eslam_me_wordpress_redirect_to_landing_page.php 92% from 13 tests
Analyzing the main PHP file in "Redirect wordpress to welcome or landing page" version 2.0
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("redirect-to-welcome-or-landing-page.php" instead of "eslam_me_wordpress_redirect_to_landing_page.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected149 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 43 | 149 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.86 |
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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
files/wordpresschatbot.com_logo.png | 23.50KB | 9.64KB | ▼ 58.99% |
files/donate-paypal.png | 8.20KB | 4.04KB | ▼ 50.72% |