Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.81ms] Passed 4 tests
Analyzing server-side resources used by Pebble 301 Redirects
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 44.63 ▼2.65 |
Dashboard /wp-admin | 3.33 ▲0.02 | 51.04 ▼0.16 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.33 ▼6.11 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.78 ▼10.30 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 41.44 ▲5.05 |
301 Redirects /wp-admin/options-general.php?page=pebble-301-redirects | 3.21 | 31.77 |
Server storage [IO: ▲0.80MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Pebble 301 Redirects
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.18 ▼0.96 | 5.44 ▲3.29 | 41.70 ▼5.83 |
Dashboard /wp-admin | 2,210 ▲19 | 5.76 ▼0.05 | 103.09 ▼3.39 | 39.68 ▼1.35 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 1.99 ▼0.04 | 35.83 ▼4.29 | 33.91 ▼3.11 |
Add New Post /wp-admin/post-new.php | 1,523 ▲9 | 23.21 ▲5.52 | 691.70 ▲8.56 | 64.75 ▲0.14 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.24 ▼0.01 | 99.41 ▼7.27 | 44.36 ▼0.42 |
301 Redirects /wp-admin/options-general.php?page=pebble-301-redirects | 846 | 2.03 | 23.98 | 31.47 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix 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/pebble-301-redirects/pebble-redirect.php:142
- > 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
5 plugin tags: redirect, url, 404, seo, 301
pebble-301-redirects/pebble-redirect.php 92% from 13 tests
This is the main PHP file of "Pebble 301 Redirects" version 1.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("pebble-301-redirects.php" instead of "pebble-redirect.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin125 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 8 | 10 | 125 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.79MB with 0.38MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 173.96KB | 90.27KB | ▼ 48.11% |
assets/icon-128x128.png | 8.03KB | 4.01KB | ▼ 50.08% |
img/pebbleicon.png | 4.95KB | 2.94KB | ▼ 40.55% |
assets/icon-256x256.png | 14.89KB | 6.94KB | ▼ 53.42% |
assets/banner-1544x500.png | 607.19KB | 320.05KB | ▼ 47.29% |