Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.21MB] [CPU: ▼7.44ms] Passed 4 tests
Analyzing server-side resources used by jonimo Simple Redirect
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 36.85 ▼5.40 |
Dashboard /wp-admin | 3.53 ▲0.18 | 45.90 ▼15.21 |
Posts /wp-admin/edit.php | 3.64 ▲0.29 | 43.78 ▼3.56 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 83.65 ▼5.60 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 33.98 ▲2.18 |
About /wp-admin/admin.php?page=about | 3.39 | 31.88 |
Logout /wp-admin/admin.php?page=logout | 3.39 | 31.21 |
Default Link /wp-admin/admin.php?page=default | 3.39 | 32.82 |
Login /wp-admin/admin.php?page=jonimo | 3.46 | 39.41 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for jonimo Simple Redirect
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲67 | 13.58 ▼0.84 | 1.69 ▼0.26 | 42.25 ▲0.12 |
Dashboard /wp-admin | 2,247 ▲62 | 5.87 ▲1.00 | 97.14 ▼19.42 | 85.12 ▲37.76 |
Posts /wp-admin/edit.php | 2,130 ▲41 | 2.03 ▲0.02 | 36.17 ▼0.34 | 34.51 ▲0.45 |
Add New Post /wp-admin/post-new.php | 1,551 ▲18 | 23.21 ▲0.16 | 702.17 ▲51.84 | 59.99 ▲8.42 |
Media Library /wp-admin/upload.php | 1,426 ▲44 | 4.21 ▲0.07 | 115.23 ▲17.20 | 44.80 ▲3.14 |
About /wp-admin/admin.php?page=about | 890 | 2.07 | 27.85 | 30.27 |
Logout /wp-admin/admin.php?page=logout | 906 | 1.71 | 24.43 | 29.30 |
Default Link /wp-admin/admin.php?page=default | 905 | 1.85 | 23.89 | 31.60 |
Login /wp-admin/admin.php?page=jonimo | 1,086 | 1.80 | 27.40 | 41.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, 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 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=about
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/admin.php?page=about
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=default
- > Notice in wp-content/plugins/jonimo-simple-redirect/class/redirect-default.php+175
Trying to access array offset on value of type bool
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 take a closer look at the following
- 8× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/jonimo-simple-redirect/ji_core_setup.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/jonimo-simple-redirect/class/redirect-core.php:70
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/jonimo-simple-redirect/addons/redirect-login-limit-addon.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jonimo-simple-redirect/class/redirect-default.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jonimo-simple-redirect/class/redirect-logout.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jonimo-simple-redirect/class/redirect-login.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/jonimo-simple-redirect/addons/redirect-woocommerce-addon.php:78
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/jonimo-simple-redirect/addons/redirect-default-addon.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== jonimo-simple-redirect ===
) - Tags: Please reduce the number of tags, currently 23 tag instead of maximum 10
- Screenshots: These screenshots do not have images: #1 (On the login options screen you can choose where to redirect different users based on their role.), #2 (On the Default options screen you can set a location to redirect to if no custom location is set.), #3 (On the logout options screen you can direct all users to a common location.)
jonimo-simple-redirect/ji_core_setup.php 92% from 13 tests
The entry point to "jonimo Simple Redirect" version 1.5 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("jonimo-simple-redirect.php" instead of "ji_core_setup.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 plugin1,498 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 171 | 469 | 1,142 |
JavaScript | 3 | 25 | 5 | 185 |
CSS | 1 | 30 | 1 | 171 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
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 | 50 | |
▷ Named functions | 50 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
11 PNG files occupy 0.20MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
banner-772x250.png | 33.53KB | 11.71KB | ▼ 65.06% |
assets/images/twitter_29.png | 1.01KB | 0.70KB | ▼ 30.07% |
banner-772x250.png.png | 78.76KB | 28.29KB | ▼ 64.08% |
assets/screenshot-2.png | 11.87KB | 7.95KB | ▼ 33.05% |
screenshot-2.png | 15.39KB | 9.43KB | ▼ 38.71% |